Example error

Hey Guys,

I am trying to run this example


on standard html/js. This is the error I am getting. Any idea how to resolve it?

Thank you for your help in advance!


Jonas Blazinskas

Try Googling “javascript cors policy” - always a good idea to Google software error messages!

Cross-Origin Resource Sharing (CORS)

Yeah I did that even before, and I installed this plugin called CORS Unblock. But I am still getting same error.

You are using local port 5050, probably for local testing. Our backend is configured to send the appropriate CORS headers for these local ports only:

  • 446
  • 8080
  • 8081
  • 8888

Use one of them and it should work.

1 Like

I am using visual studio code and extension called live server to launch the html

8080 works tho! Thank you!