Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
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?
2 Replies
Replies have been turned off for this discussion
- Greg-DB7 years ago
Dropbox Community Moderator
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.
- akagupta17 years agoExplorer | 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.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!