Skip to content

Can't create an account #82

@Taegos

Description

@Taegos

Just cloned this and tried to create an account:

import jodel_api
lat, lng, city = 48.148434, 11.567867, "Munich"
j = jodel_api.JodelAccount(lat=lat, lng=lng, city=city)

But got:

Traceback (most recent call last):
  File ".\notifier.py", line 3, in <module>
    j = jodel_api.JodelAccount(lat=lat, lng=lng, city=city)
  File "C:\Users\Benjamin\Desktop\JodelNotifier\venv\lib\site-packages\jodel_api\jodel_api.py", line 56, in __init__
    r = self.refresh_all_tokens(**kwargs)
  File "C:\Users\Benjamin\Desktop\JodelNotifier\venv\lib\site-packages\jodel_api\jodel_api.py", line 136, in refresh_all_tokens
    raise Exception(resp)
Exception: (477, {'error': 'Signed request expected', 'metadata': None})

According to the readme i should

Make sure to upgrade to the latest version of jodel_api, as the signing key changes every few weeks.

I just cloned the repo so i should have the latest version, right?

Anyone seeing similar problems?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions