appError
Last updated
{
"type": "appError",
"data": {
"name": "not-allowed",
"message": "Command \"removeUser\" requires an active session",
"data": {
"type": "not-joined",
"command": "removeUser"
}
}
}{
"type": "appError",
"data": {
"name": "forbidden-action",
"message": "Forbidden action. This participant is not allowed to end session",
"data": {
"type": "end-session"
}
}
}{
"type": "appError",
"data": {
"name": "authorization-failed",
"message": "User authorization failed",
"data": {
"message": "<underlying error message>"
}
}
}{
"type": "appError",
"data": {
"name": "command-failed",
"message": "Failed to process SDK command \"startRecording\"",
"data": {
"command": "startRecording"
}
}
}sambaFrame.on('appError', (error) => {
console.log(error);
/* outputs
{
name: 'not-allowed',
message:
'Recording disabled. You’ll need to edit this room’s properties to record sessions in this room',
'data': {
'type': 'recording'
}
}
*/
});