Skip to content

429 TOO MANY REQUESTS on Zenodo Sandbox #1226

@Eiafuawn

Description

@Eiafuawn

When developing with the Zenodo API (invenio-rdm) sandbox, I often get 429 TOO MANY REQUESTS errors.

The sandbox rate limit is only 133 requests per minute for guest users, which is very restrictive and makes development difficult. Browsers send an OPTIONS request automatically before certain API calls, such as file uploads due to CORS policy, and these OPTIONS requests count toward the limit even though they don’t count as productive calls.

With the new API system, a record can have up to 100 files, but uploading 100 files will always exceed the 133 requests/minute limit because each file upload requires multiple requests, including OPTIONS ones.

This makes it impossible to fully test batch uploads without hitting the rate limit immediately. Raising the sandbox limit, excluding OPTIONS requests from the rate calculation, or providing an alternative testing setup would make development and testing significantly easier.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions