Event: notReady
The notReady
event is emitted when certain things go wrong. These include emitting invalid authentication information in response to the identify
challenge.
response
Response of a failed authentication attempt.uuid
UUID of the device the connection attempted to authenticated as.token
Plain-text token of the device the connection attempted to authenticate as. Thetoken
is passed through by the API so that it can be returned here, it is never stored as plain text by Meshblu.- (deprecated)
api
A legacy identifier kept for backwards compatibility. Should not be used in any new projects. - (deprecated)
status
A legacy status code kept for backwards compatibility. Should not be used in any new projects.
Example notReady
When an incorrect identity
event is rejected by Meshblu
{
"uuid": "i-made-this-uuid-up",
"token": "i-made-this-token-up",
"api": "connect",
"status": 401
}
Updated less than a minute ago