Skip to content

Is there a rate limit? Getting transient empty responses with many requests. #4459

@Aariq

Description

@Aariq

When performing many requests (~2000) to the /awards/ endpoints in succession I get many of them failed ( ~1000) with nothing returned from the server (no headers, no data). But then if I re-run those failed requests one by one manually, they work fine. I feel like I must be hitting some kind of rate limit, but I don't see one documented anywhere. I'm currently throttling to 100 requests / 30 seconds with a maximum of 5 requests in parallel, but still having this issue.

An example failed request that worked on the second try: https://api.usaspending.gov/api/v2/awards/ASST_NON_2331010_4900/

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