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
{{ message }}
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.
InvalidToken:
(14 additional frame(s) were not displayed)
...
File "marshmallow/schema.py", line 767, in _invoke_load_processors
data=data, many=many, original_data=original_data)
File "marshmallow/schema.py", line 865, in _invoke_processors
data = utils.if_none(processor(data), data)
File "autopush/web/validation.py", line 195, in extract_subscription
ckey_header=d["ckey_header"],
File "autopush/settings.py", line 335, in parse_endpoint
token = self.fernet.decrypt(repad(token).encode('utf8'))
File "cryptography/fernet.py", line 143, in decrypt
raise InvalidToken
The text was updated successfully, but these errors were encountered:
bbangert
changed the title
InvalidToken exceptions in the schema validator are not caught
InvalidToken exceptions in the schema validator are not caught
Jul 19, 2016
They should be caught as they were.
The text was updated successfully, but these errors were encountered: