python-tumblpy icon indicating copy to clipboard operation
python-tumblpy copied to clipboard

TumblpyError: Unable to decode authorized tokens

Open snarfed opened this issue 7 months ago • 1 comments

Saw this for the first time today. No changes to tumblpy since 2017, not sure if it's stable and mature or unmaintained (or both), but filing here anyway to share details. oauth_token and oauth_verifier look ok, and oddly when the user reloaded a second later with the exact same params, it worked fine, ie didn't error. Odd.

tumblpy 1.1.4, Python 3.11, on Google App Engine.

Traceback (most recent call last):
...
  File "oauth_dropins/tumblr.py", line 117, in dispatch_request
    auth_token = tp.get_authorized_tokens(verifier)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "tumblpy/api.py", line 95, in get_authorized_tokens
    raise TumblpyError('Unable to decode authorized tokens.')
tumblpy.exceptions.TumblpyError: Unable to decode authorized tokens.

snarfed avatar Jul 10 '24 00:07 snarfed