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?