Why this error, how do I solve it? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
10th Feb 2023, 8:05 PM
NinjaGamer
NinjaGamer - avatar
2 Answers
+ 5
You can clearly see the website is available to view through a browser. This type of 403 is usually caused by bot detection and can usually be worked around. The easiest method is to set a cookie and change the headers - imitate a common browser. However I’ve tried with this one and its using Cloudflare DNS - protection is better, can’t fool with headers. Easiest way here is to find the origin server ip address and hope this isn’t protected. …in your case it’s not, several ways to find the origin server but if you change your link to this: link = "http://52.90.149.18:3000/" It will work fine 👍✌️
10th Feb 2023, 9:21 PM
DavX
DavX - avatar
+ 6
HTTP 403 is an HTTP status code meaning access to the requested resource is forbidden. The server understood the request, but will not fulfill it. https://www.howtogeek.com/357785/what-is-a-403-forbidden-error-and-how-can-i-fix-it/
10th Feb 2023, 8:07 PM
Ausgrindtube
Ausgrindtube - avatar