CORS Policy Error

<- Back to topic

In some cases you may experience an error in your browsers developer console that looks something like this:

Solution

You need to access the Whereby API from a server environment or computer. You aren't allowed access to the API via the browser console because it would expose your secret API key.