yandevelop / Bea

Lightweight BeReal. enhancement tweak.
123 stars 6 forks source link

API Error #28

Open Arterter opened 10 months ago

Arterter commented 10 months ago

When trying to upload one BeFake, I am getting API Error.

Bad Request, Bad Request, bad-request

Arterter commented 10 months ago

I think this is the error: {"error":"Bad Request","statusCode":400,"message":"Bad Request","errorKey":"bad-request","data":null,"fields":["caption"],"timestamp":"2023-11-12T02:42:45.233Z","requestId":"1307c16c014520e6f49251d5c3688868"}

can you help me here, thx

yandevelop commented 10 months ago

Try again, should still work.

Arterter commented 10 months ago

I have tried again and still gives me bad request? any clues ?

yandevelop commented 10 months ago

Bea probably hasn't fetched the access token it uses to post your BeReal so either BeReal itself have changed something in regards to access tokens or something's broken. Weird that it worked fine for me 8 hours ago. Have to look into it, which is going to happen tomorrow at earliest. Will update here if anything new

yandevelop commented 10 months ago

Looked into the requests now. I might have to include "bereal-signature" in the requests made by Bea. Will post a beta deb here asap

yandevelop commented 10 months ago

I haven't tested these for myself atm but if anyone can test please feel free to do so: https://easyupload.io/m/na9i47

eberth commented 10 months ago

Same thing happening with 1.3.3

yandevelop commented 10 months ago

Yup, i am aware of this. Try uploading without setting a caption. That's probably the whole issue