Skip to content

JWT seems to be expiring, and resulting error does not set status text yet looks for it #114

@jlturner

Description

@jlturner

Response received has statusText set to null.

response: { status: 401, statusText: null, data: { message: 'Unauthorized' } }

Yet it seems to check for statusText when receiving the 401 and does not get a new JWT / retry:
https://github.com/OpenZeppelin/defender-client/blob/master/packages/base/src/api/client.ts#L33

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