1

I have started learning Sitecore CDP. I had the sample site hosted on the local machine and browse the page. I'm trying to connect the app. box ever with a valid app_key and point of sale. I have faced a Cors origin error in the console.

Anyone help me how to resolve this error and how to enable cross in app.boxever.com

enter image description here

1 Answer 1

1

First and foremost, your site is not hosted on https.

Secondly, you are calling a https CDP endpoint from a http website which will likely cause the browser to throw this CORS error.

I'd suggest to host your site on https to get rid of this error.

1
  • faced same error after applying https. Commented Jun 24, 2023 at 3:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.