Respondido

Failed to execute 'send' on 'XMLHttpRequest'


Hello. I have implemented the script of BlipChat on my website - online shop.

But i have a problem: when i click on Blip Chat widget, it appears an error : “ Uncaught DOMException: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://jungheinrich.chat.blip.ai/static/settings.json'. “  and other errors by CORS policy. 

 

My project is made in prestashop 1.7 .  I added “Acces-Control” in htacces of project :

Header set Access-Control-Allow-Origin "*"
Header always set Access-Control-Allow-Headers "Content-Type, Authorization, Io-Format, Accept, X-Amz-Date, X-Api-Key, X-Amz-Security-Token"
Header always set Access-Control-Allow-Methods "*"

 But nothing was resolved.

I want you to help me to work Blip Chat. Tell me what I should do BlipChat works.

Maybe i forgot to make something.

 

Thank you in advance

icon

Melhor resposta por Rafael_Figueiredo 16 October 2023, 23:17

Veja o original

2 comentários

Reputação 7
Crachá +3

Hello @Catalina M

 

If you are trying to run the project locally, it may not load because the widget does not reset outside of domains. 

 

https://help.blip.ai/hc/en-us/articles/4474398627607-How-to-add-a-bot-to-a-website-using-Blip-Chat

The project doesn’t run locally. The problem appears on live.

The strange thing is that problem appears on Chrome browser web or other browsers web based on Chromium web browser.

I added the domain in Blip Portal

 

Comente