One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
Rizzo
8 years agoNew member | Level 2
Endpoint /token reponse with content-type "text/javascript"
My app is using the authorization code flow, so after getting auth. code its requesting access token through token endpoint, Its returning a response with json content: "{ access_token: ... }", but content-type header is "text/javascript", is it right? Thanks in advance
- zoidHelpful | Level 5APP
- RizzoNew member | Level 2
What do you mean? :thinking:
- Greg-DB
Dropbox Staff
We do still return the older "text/javascript" by default for historical reasons, in order to not break old integrations.
If you send the "Accept: application/json" request header though, you'll get "application/json" instead.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,941 PostsLatest Activity: 3 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!