Skip to content

Handle error 429 and Retry-After header #235

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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