[SOLVED]Open AI error response "undefined"

Hello Everyone,

I am making an app that will generate a guided learning plan for you according to what you choose.

Example :
The user selects 3rd grade in the drop-down, and in a different drop-down, the user selects math. Then the prompt will change according to the options chosen. Then the AI will create the plan.

But every time I run my program, it shows undefined in my error label.

Please help!

Please review this because you haven’t provided enough information: How to ask Great Questions v2.0

How can we know what causes the problem if only you can see the blocks?

I figured it out… I had to change some of my Open AI properties because they were not integers.

2 Likes