Error When Inserting Data via API into Bubble: "Option with invalid id bubble"

Hey Guys, Whatsup?

I am developing an API that generates JSONs to be uploaded into Bubble using the API Connector. Despite ensuring that the information in my JSON is correct, I continue to receive the error “(Option with invalid id bubble)” when trying to add data to my database in Bubble.

Context:

  • I am sending structured data including fields like names, phone numbers, skills, etc.
  • I use Bubble’s API Connector to facilitate the integration.

Issue:

  • Every time I attempt to post the data, I receive an error stating “(Option with invalid id bubble),” even though I have double-checked and confirmed that the IDs and the values in the fields are correct.

What I’ve Tried:

  1. Ensuring exact match of field IDs and values between the API and Bubble.
  2. Confirmed that the JSON is correctly formatted.
  3. Reviewed Bubble’s documentation for common issues related to the API Connector.

Could anyone help me understand what might be causing this error or what I might be doing wrong? Any advice or suggestions would be greatly appreciated!

Thank you!


image

Does the Bubble documentation indicate you can use options sets? From what I’ve seen you can not and you would need to do something like upload the option set value as a text field and then run a backend workflow to map the text field representing the option set to the field that is related to the option set.

Any fix to this? Facing this when returning JSON objects from OpenAI to a state :frowning: