cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Are you an educator? Well we want to hear from you, so check out some tools we think might help you out here!

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Does changing dropbox app permission take effect instantly?

Does changing dropbox app permission take effect instantly?

fa11
Explorer | Level 3

Hi,

 

My app has Full App access and I am making a call to 'sharing/ad
d_file_member' using Dropbox core API. After deleting and creating my app with same name while experimenting with App Permissions, I am now getting this error message when accessing this end point. It was working the first time.

( 1. I created an app with 'Full' permission,

2. 'changed it to 'App'; discovered sharing did not  work,

3. changed back to 'Full' and getting this error now):

 

"statusCode":400,"body":"Error in call to API function \"sharing/ad
d_file_member\": This app is currently disabled."

 

I also deleted the 'App' folder from my dropbox after step 2. Tried it with a different app name as well but get the same error.

.Are the apps permission updated instantaneoulsy or does it take some time? My app is able to post files in a user's dropbox but not invite another member.

 

 

Would really appreciate it if anyone can offer an insight.

Thanks!

 

1 Accepted Solution

Accepted Solutions

Re: Does changing dropbox app permission take effect instantly?

Greg-DB
Dropboxer

Note that it's not possible to change the permission on an app. You can only delete an app and create a different one, as you described.

 

Also, every access token is tied to one and only one app. In this case, it sounds like you retrieved an access token, and then deleted the app for that access token. At that point, API calls made using that access token will fail. You will need to get a new access token for the new app to make API calls again.

View solution in original post

2 Replies 2

Re: Does changing dropbox app permission take effect instantly?

Greg-DB
Dropboxer

Note that it's not possible to change the permission on an app. You can only delete an app and create a different one, as you described.

 

Also, every access token is tied to one and only one app. In this case, it sounds like you retrieved an access token, and then deleted the app for that access token. At that point, API calls made using that access token will fail. You will need to get a new access token for the new app to make API calls again.

View solution in original post

Re: Does changing dropbox app permission take effect instantly?

fa11
Explorer | Level 3

Thanks for your response! Yes I was doing that but i think there were two issues:

1. I deleted and created app again and again in 5 minutes, changed my account details which had created that app like my username. I think maybe it was all not synced maybe as when i googled it, I found that it could be either due to deleted app or deleted account. The problem went away when I tried after a few hours. 

2. I discovered that I had been using a hard coded expired token somewhere in my code so maybe that token was over-wiritng the valid token. My code was messed up so I cleaned it and that resovled my issue.

 

Best Regards,

Poll
We love to learn from the educators who use Dropbox. Whether you teach kids, teens, adults or a combination of all three, we want to know what apps and integrations you use with Dropbox to help with teaching. Which of the ones below is your favorite, or most used tool?
Who's talking

Top contributors to this post

  • User avatar
    fa11 Explorer | Level 3
  • User avatar
    Greg-DB Dropboxer
What do Dropbox user levels mean?
Need more support?