Enumeration: StageErrorCode
Stage error codes. Stage error codes are returned when a problem is encountered that the SDK cannot recover from and require app intervention.
Enumeration Members
CANCELED
• CANCELED = 5
Operation canceled. Check application code and ensure no repeated joins/leaves/refreshStrategy/replaceStrategy invocations which may cause repeated operations to be started and canceled before completion.
CODEC_MISMATCH
• CODEC_MISMATCH = 7
Codec is not supported by the stage. Check browser/platform for codec support.
FAILED
• FAILED = 4
Operation failed. Fatal condition encountered attempting operation. Check error details.
STAGE_AT_CAPACITY
• STAGE_AT_CAPACITY = 6
Stage is at capacity. Try again when stage is no longer at capacity.
TIMEOUT
• TIMEOUT = 3
Operation timed out. If the StageErrorCategory is JOIN_ERROR
then check if the stage exists and the token is valid. If the stage
exists and the token is valid, this failure is likely a network issue. In
that case, wait for the device’s connectivity to recover and either
refresh the strategy or leave and rejoin the stage.
TOKEN_EXPIRED
• TOKEN_EXPIRED = 2
Token is expired. Create a non-expired token and retry joining.
TOKEN_MALFORMED
• TOKEN_MALFORMED = 1
Token is malformed. Ensure the token is not being unexpectantly modified (i.e. spaces inserted, characters changed, etc.) before being passed to the stage. Create a valid token and retry joining.
TOKEN_NOT_ALLOWED
• TOKEN_NOT_ALLOWED = 8
Token does not have permission for the operation. Recreate the token with the correct permission(s) and try again.