Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
I get a strange error when executing the following code-snippet:
sys.path.append('/home/pi/scripts/qr-scripts')
sys.path.append('/home/pi/Raw')
import session_folder
import session_folder_name
response = db.files_list_folder(session_folder_name.sessionFolderName)
for file in response.entries:
This is the error-output
Traceback (most recent call last):
File "/home/pi/scripts/qr-scripts/dropbox_qrcodes_watchdog.py", line 77, in <module>
response = db.files_list_folder(session_folder_name.sessionFolderName)
File "/usr/local/lib/python3.4/dist-packages/dropbox/base.py", line 715, in files_list_folder
None,
File "/usr/local/lib/python3.4/dist-packages/dropbox/dropbox.py", line 256, in request
user_message_locale)
dropbox.exceptions.ApiError: ApiError('9f5d41127c911dc312a3938fbe57f464', ListFolderError('path', LookupError('not_found', None)))
I am really not getting the problem... Can anyone help?
I am sorry. Found the mistake. My fault!
I tried to download something from a dropbox-folder, that doesn't yet exist by the time, the script is being executed.
I am sorry. Found the mistake. My fault!
I tried to download something from a dropbox-folder, that doesn't yet exist by the time, the script is being executed.
Ed G
Community Manager @ Dropbox
https://dropbox.com/support
Did this post help you? If so please mark it for some Kudos below.
Did this post fix your issue/answer your question? If so please press the 'Accept as Solution' button to help others find it.
Still stuck? Ask me a question! (Questions asked in the community will likely receive an answer within 4 hours!)
what isthe solution?
@akashjeez The original poster here indicated that the issue was that they were attempting to access the folder before the folder existed.
In general, the 'not_found' error means that the specified path doesn't exist.
If you're having trouble with the API, please open a new thread with the details of the issue.
Hi there!
If you need more help you can view your support options (expected response time for a 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!