Webchat widget v2 - problem with communication

Hello. After submitting the form of the widget v2, I get the following error:

Access to XMLHttpRequest at 'https://apps.mypurecloud.de/api/v2/webchat/guest/conversations' from origin 'https://localhost' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

In the Network tab, I found out that these requests are made to the API


Any idea how to fix this?

Hello,

I think your url path is incorrect. It should be something like: https://api.mypurecloud.de/api/v2/webchat/guest/conversations

Have you used a url path set to https://api.mypurecloud.de in the Widgets WebChat dataURL configuration?

Regards,

You are right. I was using a wrong url. Thank you.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.