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.

  • idunnololz@lemmy.worldOP
    link
    fedilink
    arrow-up
    1
    ·
    3 months ago

    By the way, I am using this endpoint (https://piefed.social/api/alpha/site) to determine if the server is running PieFed. If there is a better endpoint to use for this purpose please let me know.

    • wjs018@piefed.wjs018.xyz
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 months ago

      I think that is fine and don’t see a problem with that. As for when this issue will get fixed, I merged a fix so other instances hopefully don’t get it, but that won’t make it onto piefed.social until the Kiwis wake up and @rimu@piefed.social is back online.