Posts

Showing posts with the label 403

Axios returned 403 when i requesting resource which has proper CORS setup - why? (my case)

Image
Axios returned 403 when i requesting resource which has proper CORS setup - why? (my case) I fell for that trick 🤯 - if you too, look into your infrastructure for CloudFlare DNS Proxy and rules inside Cloudflare which is blocking you and your Axios returned you 403 because it sees access denied from Cloudflare, not from your company resource you are trying to make request to and which is properly available for you by CORS (permissions). Happy coding, guys! 🤗