Skip to content

Fix ingestion throttling error #147

@msnellings

Description

@msnellings

We have an issue with a client that wants to ingests Bitwarden logs, however since a few months now, we are unable to ingest the logs because at every iteration of the input script, we get the error below :

2025-12-12 07:56:09,535 log_level=ERROR pid=1878971 tid=MainThread file=bitwarden_event_logs.py:main:62 | 429 Client Error: Unknown Error for url: https://vault.bitwarden.eu/api/public/events?start=2025-11-25+08%3A42%3A33.256538%2B00%3A00&end=2025-11-26+07%3A35%3A56.132339%2B00%3A00&continuationToken=

I saw that we have a limitation of 400 API calls during one minute and after that we get this error.
A solution would be to use the values inside the header values (x-rate-limit-remaining, x-rate-limit-reset) and optimize the way the api calls are made when lots of data need to be retrieved.

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