However, when I try to initialize the token, I get the following error:
There was an issue setting up your call.
Raw response for the API
Status code 400
{“error”: “invalid_request”, “error_description”: “Can’t use "Authorization" header and "client_secret" arg together.”}
I assume it must have something to do with my configuration in the API connector… can anyone take a look and tell me what may be the problem? thanks!
Why did you set refresh token if you also use user agent flow? Bubble will do the refresh process itself. You don’t need to set it
Now, for you auth setting, you didn’t set the profile endpoint. So I guess it’s probably not initialized in run mode? https://api.dropboxapi.com/2/users/get_current_account may work with id set to account_id
Finally, are you trying to let your user authenticate to your app with their own dropbox account or this need to be added to Bubble auth? (in this case, you need to do the WF manually and not using Bubble auth).
For this app, we only want to use our internal dropbox account, no user dropbox accounts needed…
I’m not sure about the refresh token… I am just trying to follow what is shown to work for the folks in the previous thread. I think they were having issues getting the automatic refresh process to take place so there was a manual workflow set up to call the token and refresh it…
Maybe I should use the OAuth 2 Custom token Authentication method instead of user agent flow in that case… ??
So in this case, you doesn’t need to use user-auth. If your goal is to just upload to your dropdbox folder instead of Bubble AWS, you should follow the Bubble guide and use the Dropdox plugin made by Bubble. If you need more access, you will need to do each step manually for the authentication because actually, Dropbox doesn’t offer an auth type like client_credentials for this type of use (and I think they no longer offer long live token). Check possible auth to validate this.
Yes I originally wanted to use the Dropbox Plugin, but I’m not sure if it will work for my usecase…
I need to check a certain dropbox folder for new files and then if they are there, I need to process them based on their name. However in the workflow action menu, there is no action to list the contents of the folder…