Backup Upload Failed

Dear all
I’ve followed steps to set up drop box backup.

  • Created a drop box account and apps.

  • Configured site_config.json file

  • set setup>Integration>Dropbox Backup accordingly.
    But I’m still having bellow message and with no backup files at drop box…

    Backup Upload FailedOops, your automated backup to Dropbox
    failed.Error message: Traceback (innermost last):
    File “/home/boong/frappe-bench/apps/frappe/frappe/integrations/doctype/dropbox_backup/”, line 42, in take_backups_dropbox
    did_not_upload, error_log = backup_to_dropbox()
    File “/home/boong/frappe-bench/apps/frappe/frappe/integrations/doctype/dropbox_backup/”, line 154, in backup_to_dropbox
    upload_from_folder(get_files_path(), “/files”, dropbox_client, did_not_upload, error_log)
    File “/home/boong/frappe-bench/apps/frappe/frappe/integrations/doctype/dropbox_backup/”, line 181, in upload_from_folder
    for file_metadata in response[“contents”]:
    UnboundLocalError: local variable ‘response’ referenced before assignment

     Please contact your system manager for more information.


Fixed the error message [minor] re-raise if dropbox fails for something other than 404 · frappe/frappe@a1886c5 · GitHub

Thanks. Finally it did start to work accordingly… :smiley: