APIs & Integrations

smartvasculardx
Member

Chatbot in Webflow and CORS issue

Hi


I tried to integrate HS chatbot into webflow but I'm getting a CORS issue.   Please help.  Thanks.

 

Vincent

0 Upvotes
1 Reply 1
Syeda_Fatima
Top Contributor | Diamond Partner
Top Contributor | Diamond Partner

Chatbot in Webflow and CORS issue

Hi @smartvasculardxThe best solution to this issue is to use a proxy to make the request from the HubSpot chatbot.

 

You can use a service like Cloudflare Workers to set up a proxy for your webflow site. This will allow you to make requests from the HubSpot chatbot without running into any CORS errors.

 

Or you should look into using a proxy service that can help you get around the CORS issue. Here I am suggesting you the one available online guide: https://rapidapi.com/guides/cors-proxy-apis 

 

Alternatively, if your chatbot is hosted on HubSpot, you could try using the HubSpot API to access it without having to worry about CORS.

0 Upvotes