Forums

403 error when accessing a website from pythonanywhere

one of my scraping scripts that I run from my pythonanywhere account starts failing out of nowhere, and it turns out one of the endpoints it is hitting is responding with 403s. hitting the same endpoint using the same script on different machines does not give 403 errors.

it is possible that the IP address my requests are coming from got blacklisted. what can i do to get around this problem?

It is possible that your request is being blocked in some way for some reason. There is nothing that we can do if the site you're trying to access is blocking you.