Is there a way to resolve CORS issues for HubSpot Events HTTP API? I need to allow that for several origins. Only portalId is sent there in the URL - does not look like secret information.
Although such events are accepted by the hubspot server but I would like to avoid CORS warnings
Hi @Voyager2
I can see that this question was asked on a previous thread where we addressed a CORS question. I’ll go ahead and update that thread so that users with a similar question to this are redirected here.
To look into this for you, would you be able to provide a screenshot of the specific error you’re seeing from your end when using the Events HTTP API?
@Willson ,This is the screen. Just usual CORS warning. No CORS headers in the response. It would be good if it is possible to setup a bunch of origins in the HubSpot accont to allow CORS headers for them.
It is not very convenient to proxy such requests with user’s server to avoid warnings.
Well, no reply. I’ve just made a server-side proxy for these requests.