Closed HolgerGottChristensen closed 1 year ago
Hi @HolgerGottChristensen,
Apologies for the trouble. It looks like your request got blocked as it was missing a user agent.
Please ensure that you are setting the User-Agent
header in whatever library you are using, and it should start working.
Hope this helps, let me know if you run into any further issues.
Thank you for the help.
It works now after setting the header. I didn't know it had become a requirement.
Thank you for the quick response :D
Hello
First off, thank you for the very useful service. I have started getting errors when trying to reach endpoints from the site.
I am trying to get an image from the url: https://picsum.photos/300
When I go the the URL in a browser(safari) it shows up fine, but when trying to request it via the Rust library https://github.com/seanmonstar/reqwest, it returns 403 access forbidden.
From my research of "error code 1020" it seems to be a firewall or configuration issue on the hosting side, and not something on the library site. I was wondering if this is intended as it used to work.
Below I have included the full response I get from the request. It includes a "report-to" endpoint, so maybe you have access to that and can see what went wrong.
If you miss any information, or something is not clear, I will try my best to update the issue.
Thank You :D