cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox 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: 

i can still create a dropboxclient instance even with completely random strings as "accessToken"

i can still create a dropboxclient instance even with completely random strings as "accessToken"

tsiros
Explorer | Level 3
Go to solution

i can still create a dropboxclient instance even with completely random strings as "accessToken"

why?

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution
When making a local DropboxClient object, the string you supply as an access token isn't validated against the API. That is only done when you actually make API call. If you want to check if an access token is still valid, you can make an API call, such as get_current_account.

View solution in original post

1 Reply 1

Greg-DB
Dropbox Staff
Go to solution
When making a local DropboxClient object, the string you supply as an access token isn't validated against the API. That is only done when you actually make API call. If you want to check if an access token is still valid, you can make an API call, such as get_current_account.
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?