Skip to content

API Issues with initial sync (RateLimitExceeded) #222

@wokawoka

Description

@wokawoka

Expected vs. actual behavior

After installation and having granted a fresh token I expect to be able able to download and sync my evernote database (around 17k notes) locally on nixnote2.

Unfortunately the sync get interrupted for an API error.
I installed nixnote2 on this machine just yesterday, the token is from yesterdays, to my knowledge the API limits should be initially lifted, instead this is what I find in the log:

ERROR 2024-03-27 16:10:56.596 src/communication/communicationmanager.cpp:546 Exception stacktrace:
ERROR 2024-03-27 16:10:56.601 src/communication/communicationerror.cpp:88 "RateLimitExceeded[code=19]: API rate limit exceeded. Enable 'Sync' > 'Restart sync on API limit' or try again in 53 minutes ## >
ERROR 2024-03-27 16:10:56.601 src/threads/syncrunner.cpp:278 Error retrieving chunk
ERROR 2024-03-27 16:12:57.723 src/communication/communicationmanager.cpp:546 Exception stacktrace:
ERROR 2024-03-27 16:12:57.726 src/communication/communicationerror.cpp:88 "RateLimitExceeded[code=19]: API rate limit exceeded. Application will continue to sync in 48 minutes ## EDAMSystemException: EDAMErrorCode::RATE_LIMIT_REACHED rateLimitDuration= 2868 sec. # rateLimitDuration=\u0B34"

Restart sync on API limit (experimental) is flagged in my preferences.

Do you have any suggestion?
Thank you so much!

Specifications

  • Version: 2023100407162.1.10ubuntu22.04.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions