You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
saravananct143
7 years agoExplorer | Level 3
How to get the Dropbox File List using httpclient or WebRequest?
How to get the Dropbox File List using httpclient or WebRequest?
saravananct143
Explorer | Level 3
Thanks for Reply,
POST /2/sharing/list_folders
Host: https://api.dropboxapi.com
User-Agent: api-explorer-client
Authorization: Bearer <REDACTED>
Content-Type: application/json
I'm trying this in postman. But i'm not get any values. One more doubts. How can i generate the AccessToken ?. My Project requirement without dropbox client dll, through api's i need to get the data.
Greg-DB
7 years agoDropbox Staff
What was in the HTTPS response? It should either contain an error or the result.
Also, I redacted it for you, but you should revoke that access token since you posted it publicly.
It looks like you already figured out how to get an access token, since you posted one, but for reference, the OAuth guide goes over how to.
- saravananct1437 years agoExplorer | Level 3
https://api.dropboxapi.com/2/auth/token/from_oauth1
Authorization: Basic appkey:appsecret
Content-Type: application/json
Error in call to API function "auth/token/from_oauth1": Invalid value in HTTP header "Authorization": "Basic appkey:appsecret"
- saravananct1437 years agoExplorer | Level 3
https://www.dropbox.com/oauth2/authorize?client_id=...&redirect_uri=...
)this url i'm getting this error
Error (400)</h1>It seems the app you were using submitted a bad request. If you would like to report this error to the app's developer, include the information below.
- chirstius7 years agoDropbox Staff
Hey saravananct143 before we dive into your original issue, or even generating a new token, I'd really like to verify that you were able to revoke your previous token. This way we know we're working from a clean slate and any data accessible via the previous token is protected going forward.
Can you confirm?
If you're not sure how to revoke a token, one of the easiest ways is to use the Dropbox API Explorer to call /token/revoke. You can find that here: https://dropbox.github.io/dropbox-api-v2-explorer/#auth_token/revoke
Just paste in your previous token, submit the call, and you should be good to go.-Chuck
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,919 PostsLatest Activity: 11 hours ago
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!