# API Cors issue

**URL:** <https://community.hubspot.com/t/api-cors-issue/67038>\
**Category:** APIs & Integrations\
**Tags:** professional, starter, free\
**Created:** [October 13, 2022, 10:57am UTC](https://community.hubspot.com/t/api-cors-issue/67038 "2022-10-13T10:57:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jun22](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jun22/32/34870_2.png) [@Jun22](https://community.hubspot.com/u/Jun22)\
**Post date:** [October 13, 2022, 10:57am UTC](https://community.hubspot.com/t/api-cors-issue/67038/1 "2022-10-13T10:57:14Z")

</div>

Hi API masters out there. Anyone willing to help. I tried to run Hubspot API endpoint of “ **/crm/v3/objects/deals** ” on postman its working well it responses a json data but when trying to post to hubspot. it appears an issue like this:  
_"Access to fetch at '__[https://api.hubapi.com/crm/v3/objects/deals](https://api.hubapi.com/crm/v3/objects/deals)__’ from origin '__[test.com](http://test.com/)__’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. If an opaque response serves your needs, set the request’s mode to ‘no-cors’ to fetch the resource with CORS disabled."_  
Any similar issues. please help my God!

 ![image.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/e/5/e5d18615dc9614af9bdab8416630ac13c18c548f.png)

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [October 14, 2022, 9:01am UTC](https://community.hubspot.com/t/api-cors-issue/67038/2 "2022-10-14T09:01:40Z")

</div>

Hey [@](https://community.hubspot.com/t5/user/viewprofilepage/user-id/379041)[Jun22](https://community.hubspot.com/t5/user/viewprofilepage/user-id/126836)

**Check the below links →**

- [**https://community.hubspot.com/t5/APIs-Integrations/No-Access-Control-Allow-Origin-header-is-present-on-the/m-p/231273**](https://community.hubspot.com/t5/APIs-Integrations/No-Access-Control-Allow-Origin-header-is-present-on-the/m-p/231273)

- [**https://community.hubspot.com/t5/APIs-Integrations/Dealing-with-Access-Control-Allow-Origin-header/m-p/240144**](https://community.hubspot.com/t5/APIs-Integrations/Dealing-with-Access-Control-Allow-Origin-header/m-p/240144)

- [**https://community.hubspot.com/t5/APIs-Integrations/Access-control-error/m-p/224855**](https://community.hubspot.com/t5/APIs-Integrations/Access-control-error/m-p/224855)

- [**https://community.hubspot.com/t5/APIs-Integrations/CORS-issue/td-p/640797**](https://community.hubspot.com/t5/APIs-Integrations/CORS-issue/td-p/640797)

- [**https://community.hubspot.com/t5/APIs-Integrations/Access-to-XMLHttpRequest-blocked-by-CORS-policy/m-p/467503/highlight/true**](https://community.hubspot.com/t5/APIs-Integrations/Access-to-XMLHttpRequest-blocked-by-CORS-policy/m-p/467503/highlight/tru)

**Stackoverflow - \>**

[**https://stackoverflow.com/questions/48577247/hubspot-api-not-working-due-to-cors**](https://stackoverflow.com/questions/48577247/hubspot-api-not-working-due-to-cors)

Hope this helps!

If we were able to answer your query, kindly help the community by marking it as a solution.

Thanks and Regards.
