API Calls Failures Bug Workaround - June 18

Hey everyone,

It looks like a recent change on Bubble’s end may have introduced a bug that’s causing some API calls to fail. I’m not exactly sure what changed and if everyone was impacted, but after testing, I found that removing tabs and unnecessary whitespace from the JSON body fixed the issue for me.

Example - If this fails:

{
“user_id”: 123,
“action”: “create”,
“data”: {
“name”: “John Doe”,
“email”: “john@example.com
}
}

Try this (no tabs or extra formatting):

{"user_id":123,"action":"create","data":{"name":"John Doe","email":"john@example.com"}}

So if you’re encountering unexpected errors with API calls, try minifying your JSON—remove all tabs and format it compactly.

This should just be a workaround, hopefully, this gives the Bubble team a useful clue to investigate and revert the change that’s causing the issue.

Let me know if this workaround helps anyone else.

3 Likes

Just wanted to let you know — the issue seems to have been resolved on Bubble’s end (or magically :sweat_smile:). Dynamic parameters in Raw body requests are now working properly again on my side, even with extra formatting. I think your original JSON format should work fine now without needing to strip whitespace.

Really appreciate you chiming in with that suggestion — it was super helpful while the issue was active.

1 Like

same issue happening for me now, will chase support, its a little different, if it change the param from having a space e.g. json_data to jsondata - it works but not practical as this exists in so many places in the app through various API Connector calls

1 Like

Please let us know what support says

they took a long time to pass it along to another team, the team its escalated to are not online till 9AM - 6PM ET - anyone have a way to escalate things as i’m sure its wider than a few people.

We face the same issue since yesterday. Parameters in API calls are just not being replaced. We’re in urgent contact with the support.

Frustrating to say the least…

Oh now it’s a proper incident Bubble Status - Some API Connector calls not substituting raw variables with dynamic values

Reply from bubble in another thread: Sudden issue with Stripe API calls using dynamic parameters in API Connector - #21 by zoe1

1 Like

This topic was automatically closed after 14 days. New replies are no longer allowed.