Issue with Dropbox Backup

I have this issue

Backup Upload Failed!

Oops, your automated backup to Dropbox failed.

Error message: Traceback (most recent call last): File “apps/frappe/frappe/integrations/doctype/dropbox_settings/dropbox_settings.py”, line 57, in take_backup_to_dropbox did_not_upload, error_log = backup_to_dropbox(upload_db_backup) File “apps/frappe/frappe/integrations/doctype/dropbox_settings/dropbox_settings.py”, line 108, in backup_to_dropbox upload_file_to_dropbox(filename, “/database”, dropbox_client) File “apps/frappe/frappe/integrations/doctype/dropbox_settings/dropbox_settings.py”, line 171, in upload_file_to_dropbox create_folder_if_not_exists(folder, dropbox_client) File “apps/frappe/frappe/integrations/doctype/dropbox_settings/dropbox_settings.py”, line 204, in create_folder_if_not_exists dropbox_client.files_get_metadata(folder) File “env/lib/python3.6/site-packages/dropbox/base.py”, line 1512, in files_get_metadata None, File “env/lib/python3.6/site-packages/dropbox/dropbox_client.py”, line 327, in request timeout=timeout) File “env/lib/python3.6/site-packages/dropbox/dropbox_client.py”, line 482, in request_json_string_with_retry timeout=timeout) File “env/lib/python3.6/site-packages/dropbox/dropbox_client.py”, line 607, in request_json_string raise AuthError(request_id, err) dropbox.exceptions.AuthError: AuthError(‘ef810d355f7843f1bbf323a426d8eb9a’, AuthError(‘expired_access_token’, None))

Hi
Are you sure that your Dropbox access token is still valid, not a short-lived token?

hey
our administrator say that this issue is a puplic issue in erpnext with dropox and this backup now dosn’t work with all erp next systems
is this right ??!!

I have an instance running on V13.12.1 and Dropbox is working fine.

Also, the exception isn’t being thrown by ERPNext code. It is being thrown by pip dropbox package. According to the documentation of the package: https://dropbox-sdk-python.readthedocs.io/en/latest/api/exceptions.html?highlight=dropbox.exceptions.AuthError#dropbox.exceptions.AuthError

The exception being thrown means your token is not valid.

Thanks For your reply