Documentation

Support

Vivox Unreal SDK

Vivox Unreal SDK

Error Codes

Reference error codes returned by Vivox operations.
Read time 1 minuteLast updated 2 days ago

The following table lists the error codes that the Vivox SDK can return and recommendations for how to handle these errors. If there's an issue that's not tied directly to an error code, a generic
VivoxApiException
can be handled with
try/catch
blocks.
ErrorError codeNotes
VxErrorNoMessageAvailable-1
VxErrorSuccess0
VxErrorTargetObjectDoesNotExist1001Programming error.
VxErrorInternalError1004Internal Vivox error. Get Vivox logs and send to Vivox for analysis.
VxErrorInvalidArgument1008Programming error. A parameter in a request is either using the wrong type (for example, using a bool when it should be an int) or is missing.
VxErrorNotInitialized1012Programming error.
VxErrorNotImplemented1017Programming error.
VxErrorInvalidState1019Often a programming error, but sometimes occurs when a login or voice session terminates due to loss of network at the same time that a request is issued.
VxErrorFileOpenFailed1043Programming error or packaging error.
VxErrorRtpTimeout1058Unable to pass RTP. User retry, or exponential backoff retry.
VxErrorAlreadyInitialized1085Programming error.
VxErrorServerRtpTimeout1095Retry with backoff.
VxErrorAsyncOperationCanceled5001
VxErrorCaptureDeviceInUse5002Indicates an attempt to open a second audio session on a second simultaneous session group. Usually indicative of a client programming error.
VxErrorConnectionTerminated5003Connection for Vivox lost, user retry, or exponential backoff.
VxErrorFileOpenFailed5004Programming error or packaging error.
VxErrorHandleReserved5005Programming error.
VxErrorHandleTaken5006Programming error.
VxErrorInternalError5007Internal Vivox error. Get Vivox logs and send to Vivox for analysis.
VxErrorInvalidArgument5008Programming error.
VxErrorInvalidFormat5009Programming error.
VxErrorInvalidOperation5010Programming error.
VxErrorInvalidState5011Often a programming error, but sometimes occurs when a login or voice session terminates due to loss of network at the same time that a request is issued.
VxErrorInvalidValueTypeXmlQuery5012Internal Vivox error. Get Vivox logs and send to Vivox for analysis.
VxErrorNoMatchingXmlAttributeFound5013Internal Vivox error. Get Vivox logs and send to Vivox for analysis.
VxErrorNoMatchingXmlNodeFound5014Internal Vivox error. Get Vivox logs and send to Vivox for analysis.
VxErrorNoMemory5015Usually a corrupted heap.
VxErrorNoMoreData5016
VxErrorNotSupported5018Programming error.
VxErrorPortNotAvailable5019Unable to find a port for audio. Usually indicative of having too many calls active at once as a result of a programming error.
VxErrorRtpTimeout5020Unable to pass RTP. User retry or exponential backoff retry.
VxErrorUnableToOpenCaptureDevice5021
VxErrorXmppBackEndRequired5023Client is configured to use the wrong Vivox backend, or the backend is set up incorrectly. Contact Vivox.
VxErrorPreloginDownloadFailed5024Unable to reach a Vivox web server. Retry with backoff.
VxErrorNotLoggedIn5025Programming error.
VxErrorPresenceMustBeEnabled5026Programming error.
VxErrorConnectorLimitExceeded5027Programming error.
VxErrorTargetObjectNotRelated5028Programming error.
VxErrorTargetObjectDoesNotExist5029Programming error.
VxErrorMaxLoginsPerUserExceeded5030Programming error.
VxErrorRequestCanceled5031
VxErrorBuddyDoesNotExist5032Programming error.
VxErrorChannelUriRequired5033Programming error.
VxErrorTargetObjectAlreadyExists5034Occurs when a developer tries to force a player to join a channel that the player is already connected to, while declaring a different session group. This is because a player cannot connect to two channels with the same URI (same name, same audio/text status, same issuer, and same domain), even if they use a separate session group for each. This error occurs regardless of whether a developer uses a different session group to try and join the player to the same channel again.
VxErrorInvalidCaptureDeviceForRequestedOperation5035Programming error.
VxErrorInvalidCaptureDeviceSpecifier5036Programming error.
VxErrorInvalidRenderDeviceSpecifier5037Programming error.
VxErrorDeviceLimitReached5038Programming error.
VxErrorInvalidEventType5039Programming error.
VxErrorNotInitialized5040Programming error.
VxErrorAlreadyInitialized5041Programming error. Attempted to initialize a client that was already initialized. You might need to reopen your Unity project to fix this error.
VxErrorNotImplemented5042Programming error.
VxErrorTimeout5043Retry with backoff.
VxNoAuthentificationStanzaReceived5044
VxFailedToConnectToXmppServer5045Retry with backoff.
VxSSLNegotiationToXmppServerFailed5046If this error only occurs on one device, check that the device is up to date on all certificates. If this error occurs on all devices, contact Vivox immediately.
VxErrorUserOffLineOrDoesNotExist5047
VxErrorCaptureDeviceInvalidated5048
VxErrorMaxEtherChannelLimitReached5049
VxErrorHostUnknown5050Server value could not be resolved. Check that the value is correct. Otherwise, retry with backoff.
VxErrorChannelUriTooLong5051Programming error.
VxErrorUserUriTooLong5052Programming error.
VxErrorUserBlocked5102Occurs when a direct message is sent to a user who is cross-muted (blocked).
VxErrorMessageTextTooLong5103Received when a text message exceeds the maximum length in bytes.
VxNetworkHttpInvalidUrl10003Programming error.
VxNetworkNameResolutionFailed10006Either a programming error or a networking issue. Check the account management server URL. If pervasive, contact Vivox. Otherwise, retry with backoff.
VxNetworkUnableToConnectToServer10007Retry with backoff.
VxNetworkHttpTimeout10028Retry with backoff.
VxNetworkHttpInvalidServerResponse10052Contact Vivox.
VxNetworkHttpConnectionReset10056Retry with backoff.
VxNetworkHttpInvalidCertificate10077Programming error.
VxNetworkHttpGeneralConnectionFailure10100Retry with backoff.
VxNetworkReconnectFailure10101Received when the Vivox SDK fails to reconnect after several attempts.
VxAccessTokenAlreadyUsed20120Programming error.
VxAccessTokenExpired20121Programming error.
VxAccessTokenInvalidSignature20122Programming error.
VxAccessTokenClaimsMismatch20123Programming error.
VxAccessTokenMalformed20124Programming error.
VxAccessTokenInternalError20125Contact Vivox.
VxAccessTokenServiceUnavailable20127Contact Vivox.
VxAccessTokenIssuerMismatch20128Programming error.
VxErrorTitleDisabled20129Received when the Vivox SDK free-tier has been exceeded and payment information has not been provided within 30 days.
VxXmppErrorChannelAtCapacity20507Received when trying to join a full channel.