Backup in DropBox Failing

Hello Forum,

We get below error when we try to take backup in dropbox.

Backup Upload Failed

Oops, your automated backup to Dropbox failed.

Error message: Traceback (innermost last): File "app/setup/doctype/backup_manager/backup_manager.py", line 34, in take_backups_dropbox did_not_upload, error_log = backup_to_dropbox() File "app/setup/doctype/backup_manager/backup_dropbox.py", line 89, in backup_to_dropbox upload_file_to_dropbox(filename, "/database", dropbox_client) File "app/setup/doctype/backup_manager/backup_dropbox.py", line 150, in upload_file_to_dropbox dropbox_client.put_file(folder + "/" + os.path.basename(filename), f, overwrite=True) File "/usr/lib/python2.6/site-packages/dropbox/client.py", line 321, in put_file return self.rest_client.PUT(url, file_obj, headers) File "/usr/lib/python2.6/site-packages/dropbox/rest.py", line 264, in PUT return cls.IMPL.PUT(*n, **kw) File "/usr/lib/python2.6/site-packages/dropbox/rest.py", line 210, in PUT return self.request("PUT", url, body=body, headers=headers, raw_response=raw_response) File "/usr/lib/python2.6/site-packages/dropbox/rest.py", line 182, in request raise ErrorResponse(r) ErrorResponse: [401] u'Unauthorized'

Please contact your system manager for more information.

Any hint is highly useful for us to fix this issue.

Thanks, Senti



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.
Please read the traceback - it says your Dropbox authorization credentials are not correct!

On Monday, December 16, 2013 9:35:11 AM UTC+5:30, Senthil Basuva Raj wrote:
Hello Forum,

We get below error when we try to take backup in dropbox.

Backup Upload Failed

Oops, your automated backup to Dropbox failed.

Error message: Traceback (innermost last): File "app/setup/doctype/backup_manager/backup_manager.py", line 34, in take_backups_dropbox did_not_upload, error_log = backup_to_dropbox() File "app/setup/doctype/backup_manager/backup_dropbox.py", line 89, in backup_to_dropbox upload_file_to_dropbox(filename, "/database", dropbox_client) File "app/setup/doctype/backup_manager/backup_dropbox.py", line 150, in upload_file_to_dropbox dropbox_client.put_file(folder + "/" + os.path.basename(filename), f, overwrite=True) File "/usr/lib/python2.6/site-packages/dropbox/client.py", line 321, in put_file return self.rest_client.PUT(url, file_obj, headers) File "/usr/lib/python2.6/site-packages/dropbox/rest.py", line 264, in PUT return cls.IMPL.PUT(*n, **kw) File "/usr/lib/python2.6/site-packages/dropbox/rest.py", line 210, in PUT return self.request("PUT", url, body=body, headers=headers, raw_response=raw_response) File "/usr/lib/python2.6/site-packages/dropbox/rest.py", line 182, in request raise ErrorResponse(r) ErrorResponse: [401] u'Unauthorized'

Please contact your system manager for more information.

Any hint is highly useful for us to fix this issue.

Thanks, Senti



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.