Skip to content

Commit

Permalink
chore: update token expired error list
Browse files Browse the repository at this point in the history
  • Loading branch information
am6010 committed Jun 4, 2024
1 parent fb66788 commit 69c1012
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,11 @@
CUSTOM_FIELD_VALUE_TO_TYPE = {v: k for k, v in CUSTOM_FIELD_TYPE_TO_VALUE.items()}

# strings, when are substrings of error messages should be retried
TOKEN_EXPIRED_ERROR = ["oauth-token is expired", "oauth token used to make this call expired"]
TOKEN_EXPIRED_ERROR = [
"oauth-token is expired",
"oauth token used to make this call expired",
"is not valid for this request"
]
TOKEN_REFRESH_RETRIES_EXCEEDED_ERROR = "Max retries exceeded with url: /oauth/v1/token"


Expand Down

0 comments on commit 69c1012

Please sign in to comment.