Skip to content

[BUG]: Status code 451 (blocked for legal reasons) should not be retried #448

@jahands

Description

@jahands

What happened?

Attempting an operation on a resource (eg. Repository) that has been blocked for legal reasons (usually DMCA) will always fail. Unfortunately, this is not in the default exclude list, resulting in wasted API calls.

Here is an example repo which was blocked for DMCA: https://api.github.com/repos/amusi/Python3

Versions

v4.1.3

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: TriageThis is being looked at and prioritizedType: BugSomething isn't working as documentedreleased

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions