notmarek / BeFake

BeReal Python API wrapper
132 stars 29 forks source link

Receiving Bad Request 400 response when refreshing token #89

Closed KoenMangelschots closed 1 year ago

KoenMangelschots commented 1 year ago

Whenever tokens are attempted to be refreshed after the initial token from the login has expired I am receiving a status 400 response.

Traceback (most recent call last): File "/home/pi/.local/lib/python3.9/site-packages/BeFake/__main__.py", line 26, in wrapper bf.load() File "/home/pi/.local/lib/python3.9/site-packages/BeFake/BeFake.py", line 101, in load self.refresh_tokens() File "/home/pi/.local/lib/python3.9/site-packages/BeFake/BeFake.py", line 250, in refresh_tokens raise Exception(res.content) Exception: b'{"error":"Bad Request","statusCode":400,"message":"Bad Request","errorKey":null,"fields":null,"timestamp":"2023-05-01T11:01:39.013Z","requestId":"aa0389102c50b1b3a59a24ebeb80ca7c"}'

Smart123s commented 1 year ago

Seems like my PR didn't fix the issue. I'm still getting it. If someone else can confirm this, we could reopen the issue.

EDIT: I'm sure it didn't fix it after a day of testing.

CyberTimon commented 1 year ago

I also have this issue. +1