HELP PLEASE! The API call returns a non-object and you picked JSON. Please check

I need assistance with the API i did. Basically the plan was to get 3 different data types and merge then into 1 Repeating Group with the option to filter which data you want to show - which was a success! The only issue was when the data got too big/large, it will not return anymore. Basically showing just blank in the repeating group. And after researching on this, found out there is a hard limit of 50mb, hence the blank output

Temporary workaround i did was delete around 20-30 things and it was retrieving all merged data again.

So i decided to change the flow. Gather the filter parameters, get the data from all 3 Data types then merge and display. This was a success as well when i tested in postman but when i was initializing in bubble, this happened (see below)

I did multiple fixes such as adding headers, content type and user agent but still gives the same result. Note that this only happens when i added a filter in the “do search” action. When i removed the filter parameters, it works fine (but again, it returns all data which i am preventing from happening)


Anyone know a good fix or maybe a setting i (hopefully) missed adding? Help please! TIA :pray:

You may either select Structured JSON in the Content-type dropdown in the Return data from API action or select text in the Data-type dropdown in the API call in the API connector plugin

I tried this and didn’t work. While changing the action to Text returned fine, the categorization didn’t display as expected.

I actually found out the culprit. The 3rd data i was pulling had a unique data structure than is connected to a thing. So what happened was the constraint was under a constraint and it return a , , hence the error in bubble
image

Fixing this resolved the matter