# How to Fix CORS policy: No 'Access-Control-Allow-Origin' Error

**URL:** <https://forum.kirupa.com/t/how-to-fix-cors-policy-no-access-control-allow-origin-error/642222>\
**Category:** web dev\
**Created:** [March 27, 2020, 2:24am UTC](https://forum.kirupa.com/t/how-to-fix-cors-policy-no-access-control-allow-origin-error/642222 "2020-03-27T02:24:26Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![kirupa](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/kirupa/32/11616_2.png) [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Post date:** [March 27, 2020, 3:25am UTC](https://forum.kirupa.com/t/how-to-fix-cors-policy-no-access-control-allow-origin-error/642222/2 "2020-03-27T03:25:28Z")

</div>

There isn’t a good way around it, for allowing your service to access the data is something the **other** server needs to support. One solution is to use an intermediate server that bypasses CORS along with taking your actual request and returning the right data.

You can see that approach used here: [Checking If A File Exists](http://forum.kirupa.com/t/checking-if-a-file-exists/399354/11)

🙂

---

_[View the full topic](https://forum.kirupa.com/t/how-to-fix-cors-policy-no-access-control-allow-origin-error/642222)._
