Building an AI tool following your guide, but I keep getting stuck at "pending"

I’ve been following this guide:

OpenAI | Bubble Docs.

And everything seems to be the same, but it stop at the “Generating” stage and my data never reaches “complete” status - can someone help me out?

Show screen shots of your setup. Also confirm that you have your own API keys in use. When sharing screen shots obfuscate any API keys.

I can see that there is usage on ChatGPT API (which is my own). Here is the screenshots :slight_smile:








you can put a data type called api fails and then in backend workflow create an api fails to capture details about why an api call has an error. That is easiest way to check for errors with api calls that are run in backend workflows.

Great, and how do I do that? :slight_smile:

I keep getting this error:

“{\n "error": {\n "message": "We could not parse the JSON body of your request. (HINT: This likely means you aren’t using your HTTP library correctly. The OpenAI API expects a JSON payload, but what was sent was not valid JSON. If you have trouble figuring out how to fix this, please contact us through our help center at help.openai.com.)",\n "type": "invalid_request_error",\n "param": null,\n "code": null\n }\n}\n”

Looks like they provided a link for you to click to get help on how to structure the JSON to send to the api. There are forum threads on the subject as well.

This topic was automatically closed after 70 days. New replies are no longer allowed.