# Trying to configure/connect Dropbox API to API Connector

**URL:** <https://forum.bubble.io/t/trying-to-configure-connect-dropbox-api-to-api-connector/314351>\
**Category:** APIs\
**Created:** [March 25, 2024, 3:55pm UTC](https://forum.bubble.io/t/trying-to-configure-connect-dropbox-api-to-api-connector/314351 "2024-03-25T15:55:01Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![paulsvassistant](https://avatars.discourse-cdn.com/v4/letter/p/c37758/32.png) [@paulsvassistant](https://forum.bubble.io/u/paulsvassistant)\
**Post date:** [March 25, 2024, 3:55pm UTC](https://forum.bubble.io/t/trying-to-configure-connect-dropbox-api-to-api-connector/314351/1 "2024-03-25T15:55:01Z")

</div>

Hello,

I am trying to connect the Dropbox API to the Bubble API connector.

I have been following this thread - [https://forum.bubble.io/t/cant-use-bubbles-api-connector-oauth-2-0-with-dropbox/239859/6](https://forum.bubble.io/t/cant-use-bubbles-api-connector-oauth-2-0-with-dropbox/239859/6)

Trying to implement the solution listed at the bottom of the thread for getting the token, copying similar configuration as per the screenshot:

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/d/e/de075d57d7c3f121000c15b9f00fff7326b7d3ad.jpeg)

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!

 ![Screenshot 2024-03-25 at 8.54.19 AM](https://us1.discourse-cdn.com/bubble/original/3X/0/c/0cdd6c1b8e60a9577386d407d2fb5fdd24cf8df9.png)

---

<div class="post-metadata">

**Author:** ![Jici](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jici/32/30722_2.png) [@Jici](https://forum.bubble.io/u/Jici)\
**Post date:** [March 25, 2024, 4:00pm UTC](https://forum.bubble.io/t/trying-to-configure-connect-dropbox-api-to-api-connector/314351/2 "2024-03-25T16:00:23Z")

</div>

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](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).

---

<div class="post-metadata">

**Author:** ![paulsvassistant](https://avatars.discourse-cdn.com/v4/letter/p/c37758/32.png) [@paulsvassistant](https://forum.bubble.io/u/paulsvassistant)\
**Post date:** [March 25, 2024, 4:07pm UTC](https://forum.bubble.io/t/trying-to-configure-connect-dropbox-api-to-api-connector/314351/3 "2024-03-25T16:07:43Z")

</div>

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… ??

---

<div class="post-metadata">

**Author:** ![paulsvassistant](https://avatars.discourse-cdn.com/v4/letter/p/c37758/32.png) [@paulsvassistant](https://forum.bubble.io/u/paulsvassistant)\
**Post date:** [March 25, 2024, 4:13pm UTC](https://forum.bubble.io/t/trying-to-configure-connect-dropbox-api-to-api-connector/314351/4 "2024-03-25T16:13:46Z")

</div>

I changed token\_name to access\_token and now I get the error

There was an issue setting up your call.

Raw response for the API  
Status code 400  
{“error”: “invalid\_request”, “error\_description”: “unknown field "access\_token"”}

---

<div class="post-metadata">

**Author:** ![Jici](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jici/32/30722_2.png) [@Jici](https://forum.bubble.io/u/Jici)\
**Post date:** [March 25, 2024, 4:17pm UTC](https://forum.bubble.io/t/trying-to-configure-connect-dropbox-api-to-api-connector/314351/5 "2024-03-25T16:17:20Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![paulsvassistant](https://avatars.discourse-cdn.com/v4/letter/p/c37758/32.png) [@paulsvassistant](https://forum.bubble.io/u/paulsvassistant)\
**Post date:** [March 25, 2024, 4:42pm UTC](https://forum.bubble.io/t/trying-to-configure-connect-dropbox-api-to-api-connector/314351/6 "2024-03-25T16:42:06Z")

</div>

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…

 ![Screenshot 2024-03-25 at 9.41.42 AM](https://us1.discourse-cdn.com/bubble/original/3X/a/8/a88d3c075316d3cdc42059dc652016cadac7b5a7.png)

When I asked the question before, I was told to instead connect dropbox thru the API connector and so here I am…
