this post was submitted on 21 Aug 2023
257 points (97.4% liked)
Fediverse
28490 readers
705 users here now
A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).
If you wanted to get help with moderating your own community then head over to !moderators@lemmy.world!
Rules
- Posts must be on topic.
- Be respectful of others.
- Cite the sources used for graphs and other statistics.
- Follow the general Lemmy.world rules.
Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
For some reason when I query
programming.dev
, as well as a couple other instances from my Vercel deployement I get 403s "Forbidden" errors. Not really sure why, it works when I run it from localhost? Maybe them or their provider have somehow blocked request from Vercel because they are afraid of bots? It's anyone's guess really.This site is built on top of the lemmy-js-client, which is maintained by the Lemmy developers, unfortunately there isn't any API documentation to look at, so for those times when the JS client doesn't work it's very hard for me to debug it and troubleshoot it.
BTW you can look at these errors yourself in your browser's "network" tab, all errors return 500s. In the request body you can see the queried URL, in the response you can see the error message. Sometimes it's "Forbidden", some other time it's a timeout (possibly due to the instance being offline or severely overloaded).