cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We recently received a question asking for advice on how to set up a Dropbox account for an elderly family member. This prompted us to think about the different ways we can make Dropbox more accessible in general, learn about it and add your tips right over 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: 
1
Ask
2
Comments

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

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

why?

1 Accepted Solution

Accepted Solutions

Re: i can still create a dropboxclient instance even with completely random strings as "accessT

Greg-DB
Dropboxer
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

Re: i can still create a dropboxclient instance even with completely random strings as "accessT

Greg-DB
Dropboxer
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.
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
What do Dropbox user levels mean?
Need more support?