OpenAI and Json Parsing

I’m building a Bubble app where a user types text into a multiline input, clicks a button, and that input is sent to OpenAI’s chat/completions endpoint via the API Connector.

I need the AI to return exactly six separate text items, which I then want to parse and display in a repeating group. No matter how I configure it—Raw or JSON body type, using <parameter> placeholders and re-initializing the call in the Plugins tab—it always fails with an HTTP 400. The connector appears to accept and re-initialize the schema correctly, and I’ve wired the dynamic input value into the workflow step, but it never pulls the user’s text into the request properly and the JSON parsing plugin (or manual split) never receives valid output.

I’ve spent over ten hours troubleshooting and tried every placeholder syntax I can find. Has anyone seen this exact issue or have tips on reliably passing multiline user input into the API Connector and parsing a JSON array of responses?

What error exactly it give ? any screenshot

Here is a snippit. The rest was cut off. Do you need more information?

Thank you,

The service OpenAi Chat - Create Devotional just returned an error (HTTP 400). Please consult their documentation to ensure your call is setup properly. Raw error:

{
“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
}
}

Are you formatting as json safe?