Pulling Data from Bubble dB to use in Dropsource

Note that if you’re not using a custom domain, and your app is called “myawesomeapp”, then myapp.com should be replaced with myawesomeapp.bubbleapps.io

The bubble team fixed it, was a bug thanks to them!

Hi @eric.schwantler

I am having some trouble pulling user specific data from my bubble db to dropsource.

I am not sure how the API workflow would work in bubble for retrieving the data, but for posting i am all good. Would I need to use the Return Data from API? If so, how do i configure that properly? I have tried many different combinations but nothing seems to work the way its supposed to. I tried it your way but i still get a 404.

When i follow the help i can find on the dropsource forum, everything looks good but i get a 404 (not found) when i run the request. I tried different users, and i can see the data is right there in my bubble table. The only thing im unsure about at this point is how the bubble workflow works for pulling data.

Hope someone can help.

Thanks for your time,

Asger

So you should be using GET to pull data from bubble. If you only pulling back 1 record then you should pass the id as parameter ie. user table

https://klaim.io/version-test/api/1.1/obj/user/?1473575654651x917327133938670222

if you want to pull many records then it is likely that you will need to constrain the query ie. where key is any field in the table and below example is using ‘ForUser’ which is User type

https://klaim.io/version-test/api/1.1/obj/recipient?api_token=1506729203398x620617849752307000&constraints=[{“key”:“ForUser”,“constraint_type” : “equals”, “value” : “1473575654651x917327133938670222” } ]

Also make sure that you dont have privacy settings locking out access through API.

Thanks!