Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
delta1071
7 years agoExplorer | Level 4
Python 3.5 API upload error
I'm using a Raspberry Pi 3 B+ with the a Pi Camera to record surveillance images and occasionally upload them to my Dropbox account. The Python script runs until it's time to upload the images to Dro...
- 7 years ago
Thanks! I see you're referencing a Dropbox web site URL in your path. When identifying files by path on the Dropbox API, you should not use Dropbox web site URLs like this.
You only need to write them relative to "root", so e.g., you might use a value like "/Pi Image Search/123.jpg", to upload a file into a folder named "Pi Image Search", or just "/123.jpg" to upload a file into whatever root your app has.
delta1071
7 years agoExplorer | Level 4
The files are uploading now. It seems like it takes a while before the files appear in my Dropbox folder, because even after changing the upload path, the images were showing up in the local folder folder that I was running the script from, but not in the Dropbox folder. But when I checked the Dropbox folder today, the images from Friday morning were there. So, I assume it's working now. Thanks for your help.
Regards,
delta1071
Greg-DB
Dropbox Community Moderator
7 years agoI'm glad to hear you have this working now.
For reference though, note that the files uploaded via the Dropbox API should be available on the Dropbox API/web site as soon as the upload API call returns.
If you weren't seeing the file immediately on the Dropbox web site or a mobile client, it's possible you just needed to refresh, or if you were looking on a desktop client, you may have some general desktop syncing issues.
About Discuss Dropbox Developer & API
Make connections with 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!