Dropbox Backup Upload Failed

Hiii team
Please help me. What dose the following email mean? And how can fix?
Oops, your automated backup to Dropbox failed.

Error message:

Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/integrations/doctype/dropbox_settings/dropbox_settings.py”, line 171, in take_backup_to_dropbox
did_not_upload, error_log = backup_to_dropbox()
File “/home/frappe/frappe-bench/apps/frappe/frappe/integrations/doctype/dropbox_settings/dropbox_settings.py”, line 208, in backup_to_dropbox
dropbox_client = get_dropbox_client()
File “/home/frappe/frappe-bench/apps/frappe/frappe/integrations/doctype/dropbox_settings/dropbox_settings.py”, line 238, in get_dropbox_client
token = dropbox_client.create_oauth2_access_token()
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/dropbox/client.py”, line 189, in create_oauth2_access_token
r = self.rest_client.POST(url, params, headers)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/dropbox/rest.py”, line 322, in POST
return cls.IMPL.POST(*n, **kw)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/dropbox/rest.py”, line 260, in POST
is_json_request=is_json_request)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/dropbox/rest.py”, line 235, in request
raise ErrorResponse(r, r.read())
ErrorResponse: [401] u’Access token not found

@dufani1

You need to setup your dropbox account and add the access token in sites/{site_name}/site_config.json.

Check this for step-by-step guide:
https://frappe.github.io/erpnext/user/manual/en/setting-up/articles/setting-up-dropbox-backups

1 Like

Thanks :slight_smile: