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’ from origin '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!
Check the below links →
-
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
Stackoverflow - >
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.
