-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
enhancementNew feature or requestNew feature or request
Description
I am working on an interface for visualizing references and citations relations using the Dimensions API and have an edge case where I can not capture an expired login token. The message returned starts from this line
Line 157 in 5e68103
| elif response.status_code == 403: |
I would like to capture an error from
dimcli.login(key=api_key) but instead the routine tries again to login with the expired token (self._refresh_login()).
What is the reason behind retrying after an 403 error? Could you give me any input on how to capture this? My code is here: https://gitlab.gwdg.de/modelsen/semanticlayertools/-/blob/main/src/semanticlayertools/visual/citationnet.py#L24
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request