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
akagupta1
7 years agoExplorer | Level 3
Getting error using dropbox apis with "Dropbox-Api-Path-Root" header
Hi
I am getting following error while calling dropbox v2 APIs with "Dropbox-Api-Path-Root " header {“.tag”: “namespace_id”, “namespace_id”: “2132332"}
"Failed to execute 'setRequestHeader' on 'XMLHttpRequest': Value is not a valid ByteString."
Earlier it was working fine. Is there any recent change done due to which it is broken or do i have to specify this header in some other way?
- Greg-DBDropbox Staff
That's not an error message from Dropbox itself. It looks like it's coming from whatever HTTPS client you're using.
It seems to be indicating that you're attempting to use a value not allowed in HTTP headers. Looking at the string you provided, it's probably because you're using the non-ASCII characters “ and ”. Try using just " instead.
- akagupta1Explorer | Level 3
Thanks Greg. Yes exactly its due to ”. Its working now.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,910 PostsLatest Activity: 3 days 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!