cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Share your feedback on the Document Scanning Experience in the Dropbox App right 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: 

Migrating access token from API v1 to v2

Migrating access token from API v1 to v2

alfazraza
Explorer | Level 4
Go to solution

I am using dropbox-core-sdk-3.0.3.jar for api v2 calls.

When I upload my data into specific directory it will perform the uploading process.

 

Then I will manually delete the files which are uploaded in android phone, using web console(Log into account and just deleted). Now when I try to upload the same file it says that  { error_summary:invalid_access_token/.., "error":{".tag":"invalid_access_token"}

 

Please help me out.

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution

It sounds like your app uses the "app folder" permission, and you're deleting the app folder itself. Deleting the app folder effectively unlinks the app (since it no longer has anywhere to read/write) and any further API calls will result in that error. 

 

If you're trying to clear out files, make sure you only delete just the files in the folder, and not the app folder itself.

View solution in original post

3 Replies 3

Greg-DB
Dropbox Staff
Go to solution

It sounds like your app uses the "app folder" permission, and you're deleting the app folder itself. Deleting the app folder effectively unlinks the app (since it no longer has anywhere to read/write) and any further API calls will result in that error. 

 

If you're trying to clear out files, make sure you only delete just the files in the folder, and not the app folder itself.

alfazraza
Explorer | Level 4
Go to solution

Thank you so much for the solution...:)

 

After Using Api v2 still it shows that "The old version of the dropbox platform  is beign retired on september 28th ....".

Whther I am doing anythin wrong?

 

I need to know how to migrate the app key of my old application(which is created under the API V1) to API V2. I have over 500 users connected to my app, what about their files?

 

I have gone through the documentations but it is not clear.

 

Please give step by step procedure so I can try.

Greg-DB
Dropbox Staff
Go to solution
To dismiss this message, sign in to the account that owns the relevant app and go to the App Console:

https://www.dropbox.com/developers/apps

There will be a banner at the top of the page there where you can "acknowledge" the deprecation to dismiss this message.

The API v1 deprecation won't affect user files themselves. The files in Dropbox will remain there.
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    alfazraza Explorer | Level 4
What do Dropbox user levels mean?