Skip to content

Handle error 429 and Retry-After header #235

@severo

Description

@severo

See #213 (comment) and #213 (comment)

When receiving error 429 when fetching Parquet data, we could:

  • read the Retry-After header if present, otherwise use a default retry delay
  • wait for this delay then retry
  • show a temporary error message (toast?). If we identify that the source is Hugging Face (only in https://github.com/hyparam/space for now), we could propose to login if it's not already the case, because passing a token raises the rate limiting threshold.

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