Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
So I am connecting to PowerBi using the token. When I use the token created at: https://dropbox.github.io/dropbox-api-v2-explorer/#files_download with the "Get Token" function inside my PowerBI call it works great.
When I put in the access token generated from my App on https://dropbox.github.io/dropbox-api-v2-explorer/#files_download it fails with the error:
{ "error_summary": "path/not_found/.", "error": { ".tag": "path", "path": { ".tag": "not_found" } } }
Similarly when I go to Power BI it fails since the token clearly isn't being accepted with the call.
Any insight as to why this token doesn't work would be appreciated! I need a non-expiring token for my datasets to refresh in my reporting.
It sounds like your own app is probably registered for the "app folder" access type, while the API v2 Explorer has the "full Dropbox" access type. Apps with the "app folder" access type can only access the contents of the special app folder created for them (by default at "/Apps/<app name/" for accounts using the English locale). You can find more information on this here. You can check the access type for your app on the App Console.
Since API calls using access tokens for apps with the app folder access type are rooted inside the app folder, attempting to access a file at a path outside the app folder will fail.
You should either just reference items inside the app folder, using a path relative to the app folder, or, if you need to access any location in your account, you should instead register an app with the "full Dropbox" access type.
Hi there!
If you need more help you can view your support options (expected response time for a 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!