We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
mattr
10 years agoNew member | Level 2
problem with single quote in api filepath
Hello, I am using a straightforward dropbox api call in Ruby to get a file's modifier email & display name, like so: client = DropboxClient.new(generated_access_token) root_metadata = client.m...
Greg-DB
Dropbox Community Moderator
10 years agoIt looks like you're using the Dropbox API v1 Ruby SDK, so you don't need to do any escaping yourself. The SDK will take care of it.
Also, the API can see the single quote character. I just tried it out and it's working properly for me. Is it possible you have the wrong path? Also, when looking at the response, make sure to check "is_deleted" so you know if you're looking at an active or deleted file, as well as the returned "path" field so you can confirm which file you're getting back while debugging this.
If you're still having trouble, please share the values you're using and the output you're getting and we'll be happy to look into it.
Also, the API can see the single quote character. I just tried it out and it's working properly for me. Is it possible you have the wrong path? Also, when looking at the response, make sure to check "is_deleted" so you know if you're looking at an active or deleted file, as well as the returned "path" field so you can confirm which file you're getting back while debugging this.
If you're still having trouble, please share the values you're using and the output you're getting and we'll be happy to look into it.
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!