maestral: Maestral won't sync anymore

Maestral stopped syncing overnight with an error message.

To Reproduce

Just leave Maestral running. The error will popup, and syncing will get paused until it automatically tries restart syncing, in an endless loop.

Expected behaviour

No errors or syncingpauses.

System:

  • Maestral version: 1.6.3
  • Python version: 3.10 (Macos Bundled)
  • OS: Macos Ventura
  • Desktop environment: Macos
  • PyQt version (for Linux GUI): N/A

Additional context

Traceback (most recent call last):
  File "Contents/Resources/app_packages/maestral/errorhandling.py", line 91, in convert_api_errors
  File "Contents/Resources/app_packages/maestral/client.py", line 612, in get_metadata
  File "Contents/Resources/app_packages/dropbox/base.py", line 1670, in files_get_metadata
  File "Contents/Resources/app_packages/dropbox/dropbox_client.py", line 323, in request
  File "Contents/Resources/app_packages/dropbox/dropbox_client.py", line 473, in request_json_string_with_retry
  File "Contents/Resources/app_packages/dropbox/dropbox_client.py", line 593, in request_json_string
  File "Contents/Resources/app_packages/dropbox/dropbox_client.py", line 629, in raise_dropbox_error_for_resp
dropbox.exceptions.BadInputError: BadInputError('a61b7d2cccbd4e4d82484dbeffeed437', 'Error in call to API function "files/get_metadata": Unknown API function: /2/files/get_metadata')

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "Contents/Resources/app_packages/maestral/manager.py", line 842, in _handle_sync_thread_errors
  File "Contents/Resources/app_packages/maestral/manager.py", line 827, in startup_worker
  File "Contents/Resources/app_packages/maestral/sync.py", line 1597, in upload_local_changes_while_inactive
  File "Contents/Resources/app_packages/maestral/sync.py", line 1850, in apply_local_changes
  File "Contents/Resources/Support/Python/Resources/lib/python3.10/concurrent/futures/_base.py", line 608, in result_iterator
  File "Contents/Resources/Support/Python/Resources/lib/python3.10/concurrent/futures/_base.py", line 445, in result
  File "Contents/Resources/Support/Python/Resources/lib/python3.10/concurrent/futures/_base.py", line 390, in __get_result
  File "Contents/Resources/Support/Python/Resources/lib/python3.10/concurrent/futures/thread.py", line 52, in run
  File "Contents/Resources/app_packages/maestral/sync.py", line 2200, in _create_remote_entry
  File "Contents/Resources/app_packages/maestral/sync.py", line 2362, in _on_local_file_created
  File "Contents/Resources/app_packages/maestral/sync.py", line 2710, in _check_requires_upload
  File "Contents/Resources/app_packages/maestral/client.py", line 197, in wrapper
  File "Contents/Resources/app_packages/maestral/client.py", line 186, in wrapper
  File "Contents/Resources/app_packages/maestral/client.py", line 611, in get_metadata
  File "Contents/Resources/Support/Python/Resources/lib/python3.10/contextlib.py", line 153, in __exit__
  File "Contents/Resources/app_packages/maestral/errorhandling.py", line 93, in convert_api_errors
maestral.exceptions.BadInputError: Bad input to API call. Error in call to API function "files/get_metadata": Unknown API function: /2/files/get_metadata
2022-11-24 04:31:08 manager INFO: Shutting down threads...
2022-11-24 04:31:08 sync INFO: Sync aborted
2022-11-24 04:31:08 manager INFO: Paused
2022-11-24 04:32:02 sync INFO: Fetching remote changes
2022-11-24 04:32:03 sync INFO: Indexing local changes...

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 1
  • Comments: 15

Most upvoted comments

It’s a problem on Dropbox side, look here.

They should fix their API and the app will start syncing again

Maestral is working again for me now…

I have started using maestral since I got my hands on aarch64 server where I tried to use dropbox and found out its not available for arm arch. It was working fine last night but today I noticed it was not syncing anything with exactly same error as above.

Bad input to API call
Error in call to API function "files/get_metadata": Unknown API function: /2/files/get_metadata