Error connecting OpenIa chatgpt.
Status: Closed · Asked by Marcos Assis on · 0 views
Could you help me with this? This automation was working normally, but stopped working, what could have happened?
The error that occurred was this one:
{
"error": {
"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
}
}

Hey @Marcos Assis
The error you're seeing indicates that your API request isn't properly formatted as JSON. This often happens due to malformed JSON, incorrect Content-Type headers, or improper serialization of the request body. Ensure your JSON is correctly structured.
However as I can see from your recent history log, it looks like the workflow is functioning correctly, so this issue may have been resolved or was an isolated incident.
