Trouble connecting OpenAI ChatGPT to Flutterflow: JSON Error

Resolved

Hello everyone,

I'm currently trying to integrate OpenAI's ChatGPT into my Flutterflow project, but I've run into a specific JSON-related issue. Here's the error I'm receiving:

"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.)", "type": "invalid_request_error", "param": null, "code": null } }

I'm struggling to pinpoint exactly where in the Flutterflow interface I need to make changes to address this. I've reviewed my JSON structure, and everything appears correct. Additionally, I haven't come across any clear answers or relevant documentation that addresses this particular issue.

If anyone has encountered this before or knows where in Flutterflow I need to make adjustments, I'd greatly appreciate your insights.

Thank you in advance for any guidance or suggestions!

1
13 replies