To diagnose the HTTP errors received from the platform server, it's recommended to subscribe to "readyStateChange" event before init() is triggered, and console.log output the received readyStateChange event to diagnose the error received.


skylink.on("readyStateChange", function (state, error, room) {
   console.log(state, error, room);



More information on the readyStateChange error payload can be found here:

You can also to the list of error cases received in


Provided Application Key is not an actual valid Application Key available in the database.


Domain does not match the Application Key provided. Raise a ticket with support for help.


CORS domain provided in the Application Key does not match the URL accessing the SDK. Please register the correct accessing CORS URL.


Provided credentials for Application Key is invalid. Please check if the credentials format is correct as specified here:


Provided credentials does not match with expected credentials to be received. Please check if the credentials are generated correctly in


This case usually happens for using Alias Application Keys which parent Application Key is deleted. Please use another Application Key for this case.

If this error is thrown for a parent Application Key, please raise a ticket with support for further assistance.