Hi @makingapps, I managed to get it to work in Postman so i figured it might be a bug with Bubble. So I submitted a bug report. They replied saying:
“The API Connector currently doesn’t support sending a POST when auth is set to user-agent flow. I’ve shared your feature request with our engineering team. They will evaluate this request and get back shortly.”
So it is a problem on Bubble’s side. I hope they can fix this because not allowing POST calls with user-agent flow is a major limitation on Bubble’s capabilities.
Hi @Jici, I did add the keys in the dev fields too. Then we get the error as @makingapps mentioned where the user profile endpoint uses POST instead of GET that according to the Bubble team, the API Connector doesn’t support.
Thanks for your reply. Unfortunately that plugin is for a single Dropbox account, whereas I need users to upload files to their own respective Dropbox accounts.
Really? User-agent flow doesn’t allow POST? That’s crazy, how are we meant to integrate, I’ve just spent the last 2 hours implementing Mailchimp with the great help of @lottemint.md and now I cant use the subscribe to list endpoint because it requires post using Oauth2?
I think that the issue is not the the user agent flow (I mean all API call) doesn’t allow POST. This is just to get the user ID and email endpoint that it’s not allowed (normally it’s a GET request). This is a Bad API design from Dropbox. So When you authenticate with Dropbox, this will allow the App, but Bubble will not be able to store information about user and will not be able to make call with this authenticated user.
I know right, I really hope Bubble’s engineering team can add this functionality to the API Connector ASAP because clearly I’m not the only one stuck with this problem. @neerja@emmanuel this would be greatly appreciated.
“I’ve posted your note to our engineering team, however, they have not gotten back to me yet. I will post to them again and let you know as soon as I hear from them. You can likely solve this on your end now by building a private plugin, which is essentially a javascript extension of your app / our platform.”
I will try build this plugin and will let you know if I get it working.
@leonidas.petrou4 Our engineering team is scoping this request. If this turns out to be a bigger project, a custom plugin might be the right approach but we’re happy to help.