this post was submitted on 25 Jul 2025
7 points (100.0% liked)

PieFed API & mobile app dev

85 readers
2 users here now

Announcements and discussions about the PieFed API - changes, improvements and general co-ordination between the frontend developers and the core of PieFed.

founded 2 weeks ago
MODERATORS
 

Hello! I am getting 400 errors when hitting the piefed.social. Hitting other piefed instances appear to work.

The exact error I get is:

{"code":400,"message":"{'my_user': {'instance_blocks': {0: {'site': ['Missing data for required field.']}}}}","status":"Bad Request"}

As an example I get this error when I make a GET request to https://piefed.social/api/alpha/site.

Note that I am making with request without an Authorization header.

Update

It seems that only alpha/site endpoint is broken. I can GET https://piefed.social/api/alpha/federated_instances just fine.

you are viewing a single comment's thread
view the rest of the comments
[–] idunnololz@lemmy.world 1 points 1 week ago* (last edited 1 week ago)

Yeah I can curl it just fine. It's only 400ing in the app. I inspected the network request and nothing seems amiss. It was working yesterday and it's only broken on piefed.social.