You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
homopoluza
9 months agoHelpful | Level 6
AssertionError: Expected content-type to be application/json, got 'application/grpc'
Hi, everybody! I have a simple Python script to create an archive and store it in Dropbox.
import subprocess
import os
import dropbox
import shutil
from datetime import datetime
class...
- 8 months ago
I just renewed the token, and all is good. Thank you for your time Greg-DB
homopoluza
Helpful | Level 6
Well, I decided to create my own app for testing on my own current account.
Permission type - account_info.read - Scoped App
And
print(dbx.users_get_current_account())
works just fine now.
Then I added files.content.write permission and tried my script from the first post and got
Exception has occurred: AuthError
AuthError('1c1aa051ebc4408297c28154348ecaf8', AuthError('missing_scope', TokenScopeError(required_scope='files.content.write')))
File "/home/bazhin/dropbox/dropbox_backup.py", line 15, in upload
upload_session_start_result = self.dbx.files_upload_session_start(f.read(self.CHUNK_SIZE))
File "/home/bazhin/dropbox/dropbox_backup.py", line 54, in <module>
uploader.upload(archive_name, archive_size)
dropbox.exceptions.AuthError: AuthError('1c1aa051ebc4408297c28154348ecaf8', AuthError('missing_scope', TokenScopeError(required_scope='files.content.write')))
But I guess I have to wait for permission update or something, haven't I?
homopoluza
8 months agoHelpful | Level 6
I just renewed the token, and all is good. Thank you for your time Greg-DB
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,912 PostsLatest Activity: 4 hours agoIf 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 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!