Openai http 400

So I got a set of action with openai, work perfect in the api connector

but when doing it from the backend wf it returns 400 error:

i’m using arbitrary text with JSON-SAFE:

Screenshot (32)

breaking my head for the last 10 hours on this, pls help :slight_smile:

Send screenshots of:

  • Your API connector call headers (minus the full API key…)
  • Your API connector call body
  • Your API call action (including all parameters)

here:

image

When you use encoded as json-safe, Bubble will add surrounding double quotes. Remove them around prompt and value, remove prompt and merge them in value using arbitrary text:encoded as json-safe

1 Like

Worked!

1 Like