Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Gegham J.
10 years agoNew member | Level 2
search api
Hi
this is my python file
access_token='mFSg****************************************'
client = dropbox.client.DropboxClient(access_token)
print 'linked account: ', client.account_info()
print 'SHARE FILES'
file_share=client.share('/Apps/gegham/magnus-opus.txt',short_url=True)
print file_share
when I'm trying to run this , I'm getting the following error
Path '/Apps/gegham/magnus-opus.txt' not found . but in my Apps/gegham/directory file 'magnus-opus.txt' exists.
What is the problem?
2 Replies
Replies have been turned off for this discussion
- Steve M.10 years ago
Dropbox Staff
Assuming your app has "App folder" permissions and uses the app folder name
gegham, then its root is/Apps/gegham, so your paths should be relative to that.Just use the path
/magnus-opus.txt:file_share = client.share('/magnus-opus.txt', short_url=True) - Gegham J.10 years agoNew member | Level 2
Thanks a lot
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!