You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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()).
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
dimcli/dimcli/core/api.py
Line 157 in 5e68103
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
The text was updated successfully, but these errors were encountered: