Hello,
I recently receive following exception when trying to get content of librus:
File "/home/<user>/.local/lib/python3.12/site-packages/librus_apix/grades.py", line 158, in get_grades
tr = no_access_check(
^^^^^^^^^^^^^^^^
File "/home/<user>/.local/lib/python3.12/site-packages/librus_apix/helpers.py", line 19, in no_access_check
raise TokenError("Malformed or expired token.")
librus_apix.exceptions.TokenError: Malformed or expired token.
I happens after successful authentication:
client = new_client()
client.get_token(username, password)
get_grades(client) # exception goes here
Tried running pytest with received token and got following results: 21 failed, 4 passed, 4 errors.
Every fail/error is caused by Malformed or expired token..
Is there recent change in Librus portal related to authentication? How can I debug or investigate the problem?
Hello,
I recently receive following exception when trying to get content of librus:
I happens after successful authentication:
Tried running
pytestwith received token and got following results:21 failed, 4 passed, 4 errors.Every fail/error is caused by
Malformed or expired token..Is there recent change in Librus portal related to authentication? How can I debug or investigate the problem?