This is the error when we try to manipulate json coming from an API call.
If there is an array containing two further sub/child arrays each containing a different type of object, then the bubble only detects the first array type.
Here is an example of an issue, we are currently facing(realized at very the end of the project and waiting for it to be solved).
As in the last image, it recognizes the 2nd array as the first array type, which causes an issue while displaying data, as it doesn’t show the key of the object of the 2nd array(hash, value, markup).
That’s the issue because of arrays within another array, I know API should return the object containing arrays(which is the best practice).
And I tried every other method, but Bubble failed at that point. Now, We are stuck at the end of the project.
Jici gave a good option and djacklowcode gave great explanations for this, another option is to build this in a plugin and use JS to actually hit the API and format your own return and field extracts.
The API connect works for 90% of use cases but there are times when API providers structure things a bit weird compared to what you’d deem as the standard and require unique requirements when being called or returning data that you have to build it with custom JS in a plug-in action. It’s rare but it happens.
You shouldn’t need to use any 3rd party to accomplish this. If you need help feel free to reach out. It’s a fairly quick and easy setup.
Ah, I’m developing apps on bubble from last couple of yours, but today I noticed that feature(manually editing the response) of bubble.
Thanks Jici and others for your time.