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
anoduck
3 years agoExplorer | Level 4
`BadInputError: "No auth function for given request"` ...but I did.... So, what is happening?
It was working when I used the straight access token, but having to approve a new token every time the script was run was infeasible and irritating. So, I have migrated over to using a refresh_token,...
- 3 years ago
anoduck In addition to Здравко's note, make sure you're supplying all of the necessary credentials. I see you're currently setting a refresh token and app key. That would be sufficient if that refresh token was retrieved using PKCE, in which case the app secret isn't used. If PKCE wasn't used to retrieve that app key though, you need to set app_secret in addition to the app key and refresh token.
Здравко
Legendary | Level 20
Hi anoduck,
One thing you can check is the correctness of you REFRESH_TOKEN. Print it out and check the value for proper formatting. There might be something different than the refresh token exactly or some additional symbols can appear (like extra quotes for instance).
Good luck.
anoduck
3 years agoExplorer | Level 4
This was my first thought on the matter as well, that maybe it is being passed as a string rather than as raw input, or perhaps it should be passed as string and not raw input, but the addition of a "str(...)" made no difference in the output.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 2 hours agoIf 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!