Skip to content

OverflowError: timestamp too large to convert to C _PyTime_t response.headers["Retry-After"] #1499

@Vasyl14011989

Description

@Vasyl14011989

On version:
atlassian-python-api 3.41.19

rest_client.py

        if self.retry_with_header and "Retry-After" in response.headers and response.status_code == 429:
            time.sleep(int(response.headers["Retry-After"]))
            return True

I'm receiving the error:
OverflowError: timestamp too large to convert to C _PyTime_t response.headers["Retry-After"]
Please, provide the solution how to resolve the situation.
/BR Vasyl

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