So I’m building a plugin for a financial services API. I need to send two different calls to the API (createParty and createAccount), and save the ID’s from the response body to the User in Bubble.
The createAccount call works great: initializes properly, and all the data in the response shows up as available in workflow builders, so I can save the returned accountId to the User. Peachy. This is how a properly initialized createAccount call looks:
The createParty call doesn’t work so great: it initializes properly, but the API inserts a “true [ . . . ]” in front of the body of the response. Like this:
And Bubble just can’t seem to handle it. The API provider says “well, just ignore the “true” and use the rest of the response.” But if you do that when initializing the API call, NONE of the response body’s details are available in the dropdown in the workflows. Like this:
I mean, the two calls are structurally identical (PUT’s of almost identical data), so yes, it’s really strange that their API brackets the createParty response with a “true [ . . . ]”. But shouldn’t Bubble also be able to get past the “true [ . . . ]” and retrieve the body of the response itself?
Any help would be appreciated. Thanks!