404 Error from external POST to Forms API




I'm having a 404 error in the console after a form submit, the weird thing is that we have form submissions via the API working since a year now, and all of a sudden this error shows up. The data is still properly send to our Forms section in Hubspot, my POST request returns a 200, but another request is being made and it's not from me.
This is the error I'm getting :
Failed to load https://api.myCompany.com/hubspotProxy/the-form-GUID: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://myCompany.com' is therefore not allowed access.

This looks like a get request failing related to : Do HubSpot APIs support CORS / AJAX requests? I am getting error while calling ajax call

But I'm not making any other request than my POST which returns me a 200

Any idea about it ?
Thanks for your help.



Hi @Paul_Kerckhove,

Would you confirm your Hub ID and send me a link to a page where this form appears? I'd like to try and replicate the behavior to learn more.