Lync Mobile error codes for Apple iOS and Android devices

Lync Mobile error codes for Apple iOS and Android devices detailed post.

Lync Mobile error codes

The SFB for iPhone, iPad, and Android applications are made up of various components from several architectural layers. These components are responsible for providing overall functionality to the application. When an error condition occurs, the SFB for iPhone, iPad, and Android applications will log ambiguous error or warning codes which are frequently difficult to troubleshoot.

Error Handling – Lync Mobile error codes

There are many error and warning codes which can be logged by either the SFB for iPhone, iPad, or Android application. Depending on the kind of fault condition, either a global error or a component-specific error will appear in the graphical display or within the log files on your mobile device.

Architectural Layers – Lync Mobile error codes

There are five architectural layers in the SFB for iPhone, iPad, and Android application, each of which is referenced by a numeric value. This numeric value maps to the first set of digits in the SFB mobility error code.

Architectural LayerNumeric Value
Global0
UtilityLayer1
TransportLayer2
AppLayer3
UiLayer4

For example: E2-3-14

Note This error occurred within TransportLayer.

Components

Within each architectural layer, there are several components which handle all the functionality of the SFB for iPhone, iPad, and Android applications. Be aware that in some instances, an error code generated within one architectural layer (for example, AppLayer) may reference a component from another architectural layer (for example, Transport Layer). Each of these architectural components is referenced by a numeric value. This numeric value maps to the second set of digits in the SFB mobility error code.

For example: E2-3-14

Note This error occurred in the Transport Layer / Server Communication component.

Unassigned

ComponentNumeric Value
Unassigned0

Global Layer Components

ComponentNumeric Value
FileIO1

AppLayer Components

ComponentNumeric Value
Configuration1
Contact Merge2
Conversations3
Logon Session4
Persistency5
Autodiscover6

Transport Layer  Components

 

Component

Numeric Value
Protocol Parsing1
Transport Framework2
Server Communication3
Address Book Web Service4
DG Web Service5
Exchange Web Service6
EWS Auto Discover Service7
Live ID Service8
Conferencing9
IM10
Voice11
Multi Modal12

Utility Layer Components

ComponentNumeric Value
DNS Service1

Global Error Codes

The SFB for iPhone, iPad, and Android applications may log generic success or failure events in some instances. The following is a list of global error and warning codes, together with their translated error strings.

S_OK                  = GLOBAL_SUCCESS_CODE(0) E_GenericFailure      = GLOBAL_ERROR_CODE(1) E_AccessDenied        = GLOBAL_ERROR_CODE(2) E_InvalidArgument     = GLOBAL_ERROR_CODE(3) E_InvalidState        = GLOBAL_ERROR_CODE(4) E_NotAvailableOffline = GLOBAL_ERROR_CODE(5) E_NotImplemented      = GLOBAL_ERROR_CODE(6) E_NullPointer         = GLOBAL_ERROR_CODE(7) E_Timeout             = GLOBAL_ERROR_CODE(8) E_BufferTooSmall      = GLOBAL_ERROR_CODE(9) W_NoOperation         = GLOBAL_WARNING_CODE(1) W_IncompleteOperation = GLOBAL_WARNING_CODE(2) W_Pending             = GLOBAL_WARNING_CODE(3) W_Retrying            = GLOBAL_WARNING_CODE(4) W_Empty               = GLOBAL_WARNING_CODE(5) W_Cancelled           = GLOBAL_WARNING_CODE(6)

Component–Specific Error Codes

Each component in the SFB for iPhone, iPad, and Android application will log specific error codes under fault conditions. Each of these errors is referenced by a numeric value. This numeric value maps to the third set of digits in the SFB mobility error code. The following is a list of known SFB mobility error codes, sorted by architectural level and component, together with their translated error strings.

For example: E2-3-14

Note This is an Invalid Server URL error in the TransportLayer component.

Global Layer Component Errors

  • E_FileOpenError                    = ERROR_CODE(0,1,1)
  • E_FileWriteError                   = ERROR_CODE(0,1,2)
  • E_RemoveFileError                  = ERROR_CODE(0,1,3)

Ui Layer Component Errors

  • E_UI_OfflineSFBCall               = ERROR_CODE(4,0,1)
  • E_UI_OutsideVoiceDisabled          = ERROR_CODE(4,0,2)
  • E_UI_CallViaCellError              = ERROR_CODE(4,0,3)
  • E_UI_CallViaWorkNotAvailableError  = ERROR_CODE(4,0,4)

App Layer Component Errors

  • W_NoDeviceRing                      = ERROR_CODE(3,1,1)
  • E_AmbiguousMatch                   = ERROR_CODE(3,2,1)
  • E_DgExpansionGenericFailure        = ERROR_CODE(3,3,1)
  • E_DgExpansionTooManyMembersFailure = ERROR_CODE(3,3,2)
  • E_DgExpansionNoMembersFailure      = ERROR_CODE(3,3,3)
  • E_QueuedMessageFailure             = ERROR_CODE(3,3,4)
  • E_UnexpectedResponse               = ERROR_CODE(3,4,1)
  • E_LogoffUnsuccessful               = ERROR_CODE(3,4,2)
  • W_NotFound                         = WARNING_CODE(3,5,1)
  • W_BadSchemaVersion                 = WARNING_CODE(3,5,2)
  • E_DbOpenError                      = ERROR_CODE(3,5,1)
  • E_DbCommandError                   = ERROR_CODE(3,5,2)
  • E_DbTimeout                        = ERROR_CODE(3,5,3)
  • E_StreamCorruption                 = ERROR_CODE(3,5,4)
  • E_StreamLimitation                 = ERROR_CODE(3,5,5)
  • E_BadKeyType                       = ERROR_CODE(3,5,6)
  • E_KeychainError                    = ERROR_CODE(3,5,7)
  • E_DomainNotTrusted                 = ERROR_CODE(3,6,1)
  • E_AutoDiscoveryConnectionFailure   = ERROR_CODE(3,6,2)

Utility Layer Component Errors 

  • E_DnsLookupError                   = ERROR_CODE(1,1,1)
  • E_DomainNotTrusted                 = ERROR_CODE(1,6,1)

Transport Layer Component Errors

  • E_EncodingFailed                   = ERROR_CODE(2,1,1)
  • E_DecodingFailed                   = ERROR_CODE(2,1,2)
  • E_EndOfData                        = ERROR_CODE(2,1,3)
  • E_NameNotInCodePage                = ERROR_CODE(2,1,4)
  • E_ConnectionError                  = ERROR_CODE(2,2,1)
  • E_SslError                         = ERROR_CODE(2,2,2)
  • E_SslCertExpiredError              = ERROR_CODE(2,2,3)
  • E_ProxyAuthError                   = ERROR_CODE(2,2,4)
  • E_ConnectionTimeoutError           = ERROR_CODE(2,2,5)
  • E_NoValidIp                        = ERROR_CODE(2,2,6)
  • E_SslConnectionRefused             = ERROR_CODE(2,2,7)
  • E_Suspended                        = ERROR_CODE(2,2,8)
  • E_PersistentConnectionNoMoreExists = ERROR_CODE(2,2,9)
  • E_InvalidSession                   = ERROR_CODE(2,3,1)
  • E_AuthError                        = ERROR_CODE(2,3,2)
  • E_InvalidRequestFormat             = ERROR_CODE(2,3,3)
  • E_InvalidRequest                   = ERROR_CODE(2,3,4)
  • E_TooManyRequests                  = ERROR_CODE(2,3,5)
  • E_ServerOperationError             = ERROR_CODE(2,3,6)
  • E_ServerInternalFailure            = ERROR_CODE(2,3,7)
  • E_RequestFailed                    = ERROR_CODE(2,3,8)
  • E_RequestRejected                  = ERROR_CODE(2,3,9)
  • E_InvalidCredentials               = ERROR_CODE(2,3,10)
  • E_InvalidResponse                  = ERROR_CODE(2,3,11)
  • E_ResponseTimeout                  = ERROR_CODE(2,3,12)
  • E_ServiceBusyOrUnAvailable         = ERROR_CODE(2,3,13)
  • E_InvalidServerUrl                 = ERROR_CODE(2,3,14)
  • E_ClientForbidden                  = ERROR_CODE(2,3,15)
  • E_Http3xxError                     = ERROR_CODE(2,3,16)
  • E_Http4xxError                     = ERROR_CODE(2,3,17)
  • E_Http5xxError                     = ERROR_CODE(2,3,18)
  • E_BadRequest                       = ERROR_CODE(2,3,19)
  • E_HttpRequestTimeout               = ERROR_CODE(2,3,20)
  • E_SessionTicketExpired             = ERROR_CODE(2,3,21)
  • E_MetaDataNotFound                 = ERROR_CODE(2,3,22)
  • E_OcsServiceError                  = ERROR_CODE(2,3,23)
  • E_NoSSLCertificate                 = ERROR_CODE(2,3,24)
  • E_InvalidSignInAddress             = ERROR_CODE(2,3,25)
  • E_WrongHomePool                    = ERROR_CODE(2,3,26)
  • E_ClientVersionForbidden           = ERROR_CODE(2,3,27)
  • E_TimeSkewError                    = ERROR_CODE(2,3,28)

Address Book Web Service Errors

  • E_NoEntryFound                     = ERROR_CODE(2,4,1)
  • E_InternalError                    = ERROR_CODE(2,4,2)
  • E_DatabaseError                    = ERROR_CODE(2,4,3)
  • E_CorruptionEntryError             = ERROR_CODE(2,4,4)
  • E_TooManyResults                   = ERROR_CODE(2,5,1)

Exchange Errors

  • E_ItemNotFound                     = ERROR_CODE(2,6,1)
  • E_EwsAutoDiscoverFailed            = ERROR_CODE(2,6,2)
  • E_EwsConnectionFailed              = ERROR_CODE(2,6,3)
  • E_EwsBadSchemaVersion              = ERROR_CODE(2,6,4)
  • E_EwsInvalidCrossForestCredentials = ERROR_CODE(2,6,5)
  • E_EwsInvalidNetworkServiceContext  = ERROR_CODE(2,6,6)
  • E_EwsMailboxMoveInProgress         = ERROR_CODE(2,6,7)
  • E_EwsMailboxStoreUnavailable       = ERROR_CODE(2,6,8)
  • E_EwsNameResolutionNoMailbox       = ERROR_CODE(2,6,9)
  • E_EwsNotEnoughMemory               = ERROR_CODE(2,6,10)
  • E_EwsNonExistentMailbox            = ERROR_CODE(2,6,11)

Exchange Autodiscover Errors

  • E_InvalidSmtpAddress               = ERROR_CODE(2,7,1)
  • E_MaxServersVisited                = ERROR_CODE(3,7,2)
  • E_NoAutoDiscoverServersFound       = ERROR_CODE(3,7,3)
  • E_NoPrimaryEmailAddress            = ERROR_CODE(3,7,4)
  • E_SettingNotAvailable              = ERROR_CODE(2,7,5)

LiveID Errors

  • E_LiveIdInstantiationError         = ERROR_CODE(2,8,1)
  • E_LiveIdServiceAdditionError       = ERROR_CODE(2,8,2)
  • E_LiveIdServiceRemovalError        = ERROR_CODE(2,8,3)
  • E_LiveIdInvalidCredentails         = ERROR_CODE(2,8,4)
  • E_LiveIdTokenRetrievalFailure      = ERROR_CODE(2,8,5)
  • E_LiveIdPasswordExpired            = ERROR_CODE(2,8,6)
  • E_LiveIdPasswordChangeRequired     = ERROR_CODE(2,8,7)
  • E_LiveIdServiceUnavailable         = ERROR_CODE(2,8,8)
  • E_LiveIdPasswordLockedOut          = ERROR_CODE(2,8,9)
  • E_LiveIdAuthenticationBlocked      = ERROR_CODE(2,8,10)
  • E_LiveIdBlockedByPartner           = ERROR_CODE(2,8,11)
  • E_LiveIdConnectionFailed           = ERROR_CODE(2,8,12)
  • E_LiveIdGenericError               = ERROR_CODE(2,8,13)

MCX conversation errors

  • E_ConferencingParticipantNotFound                 = ERROR_CODE(2,9,1)
  • E_ConferencingParticipantServiceIssues            = ERROR_CODE(2,9,2)
  • E_ConferencingParticipantDeclinedUserInvitation   = ERROR_CODE(2,9,3)
  • E_ConferencingPresenterEndedMeeting               = ERROR_CODE(2,9,4)
  • E_ConferencingCallDisconnected                    = ERROR_CODE(2,9,5)
  • E_ConferencingCallNotCompletedOrEnded             = ERROR_CODE(2,9,6)
  • E_ConferencingParticipantCannotBeAddedNetworkBusy = ERROR_CODE(2,9,7)
  • E_ConferencingCannotConnect                       = ERROR_CODE(2,9,8)
  • E_ConferencingCannotConnectToMeetingType          = ERROR_CODE(2,9,9)
  • E_ConferencingParticipantCannotBeAddedMeetingFull = ERROR_CODE(2,9,10)
  • E_ConferencingCannotJoinAsAnonymous               = ERROR_CODE(2,9,11)
  • E_ConferencingCannotJoinInvitationError           = ERROR_CODE(2,9,12)
  • E_ConferencingCannotJoinDueToUserPermissions      = ERROR_CODE(2,9,13)
  • E_ConferencingCannotJoinGenericFailure            = ERROR_CODE(2,9,14)
  • E_ConferencingCannotJoinFromOutside               = ERROR_CODE(2,9,15)
  • E_ConferencingCannotJoinMeetingType               = ERROR_CODE(2,9,16)
  • E_ConferencingCannotReachParticipant              = ERROR_CODE(2,9,17)
  • E_ConferencingAnotherMeetingIsStarting            = ERROR_CODE(2,9,18)
  • E_ConferencingEncryptionIssues                    = ERROR_CODE(2,9,19)
  • E_ConferencingUnauthenticatedUsers                = ERROR_CODE(2,9,20)
  • E_ConferencingMediaSessionTerminated              = ERROR_CODE(2,9,21)
  • E_ConferencingFull                                = ERROR_CODE(2,9,22)
  • E_ConferencingUserCannotJoinDueToPermissions      = ERROR_CODE(2,9,23)
  • E_ConferencingInvitationExpired                   = ERROR_CODE(2,9,24)
  • E_ConferencingEndedHostsLeft                      = ERROR_CODE(2,9,25)
  • E_ConferencingCannotJoinNetworkBusy               = ERROR_CODE(2,9,26)
  • E_ConferencingSubjectLineTooLong                  = ERROR_CODE(2,9,27)
  • E_ConferencingFeatureNotEnabled                   = ERROR_CODE(2,9,28)
  • E_ConferencingEndedDueToInactivity                = ERROR_CODE(2,9,29)
  • E_ConferencingCannotBeFound                       = ERROR_CODE(2,9,30)
  • E_ConferencingUserHasNoPermissionToJoin           = ERROR_CODE(2,9,31)
  • E_ConferencingUserNotAdmitted                     = ERROR_CODE(2,9,32)
  • E_ConferencingUserRemovedFromMeeting              = ERROR_CODE(2,9,33)
  • E_IMParticipantCannotReceiveMessageFormat         = ERROR_CODE(2,10,1)
  • E_IMParticipantCannotReceiveMessages              = ERROR_CODE(2,10,2)
  • E_IMMessageTooLarge                               = ERROR_CODE(2,10,3)
  • E_IMActionRestrictedByPolicy                      = ERROR_CODE(2,10,4)
  • E_IMConversationAlreadyInProgress                 = ERROR_CODE(2,10,5)
  • E_IMContentRestrictedByPolicy                     = ERROR_CODE(2,10,6)
  • E_IMUserNotAuthorizedToMessageParticipant         = ERROR_CODE(2,10,7)
  • E_VoiceParticipantUnavailable                     = ERROR_CODE(2,11,1)
  • E_VoiceParticipantEndedCallBySigningOut           = ERROR_CODE(2,11,2)
  • E_VoiceCallDisconnected                           = ERROR_CODE(2,11,3)
  • E_VoiceCallNotCompletedOrEnded                    = ERROR_CODE(2,11,4)
  • E_VoiceCallNotCompleted                           = ERROR_CODE(2,11,5)
  • E_VoiceServerError                                = ERROR_CODE(2,11,6)
  • E_VoiceCannotConnect                              = ERROR_CODE(2,11,7)
  • E_VoiceCannotReachParticipant                     = ERROR_CODE(2,11,8)
  • E_VoiceCannotFindParticipant                      = ERROR_CODE(2,11,9)
  • E_VoiceEncryptionIssues                           = ERROR_CODE(2,11,10)
  • E_VoiceParticipantChoseToRespondWithIM            = ERROR_CODE(2,11,11)
  • E_VoiceCannotCompleteCall                         = ERROR_CODE(2,11,12)
  • E_VoiceNoAvailableMediaPorts                      = ERROR_CODE(2,11,13)
  • E_VoiceServerCannotForwardCall                    = ERROR_CODE(2,11,14)
  • E_VoiceServerDidNotRespond                        = ERROR_CODE(2,11,15)
  • E_VoiceCannotPlaceCall                            = ERROR_CODE(2,11,16)
  • E_VoiceNumberNotSupported                         = ERROR_CODE(2,11,17)
  • E_MultimodalNotFound                              = ERROR_CODE(2,12,1)
  • E_MultimodalServiceUnavailable                    = ERROR_CODE(2,12,2)
  • E_MultimodalRequestTimeout                        = ERROR_CODE(2,12,3)
  • E_MultimodalServerInternalError                   = ERROR_CODE(2,12,4)
  • E_MultimodalDoNotDisturb                          = ERROR_CODE(2,12,5)
  • E_MultimodalUnavailableOrOffline                  = ERROR_CODE(2,12,6)
  • E_MultimodalNotAcceptableHere                     = ERROR_CODE(2,12,7)
  • E_MultimodalUnsupportedMediaType                  = ERROR_CODE(2,12,8)
  • E_MultimodalDecline                               = ERROR_CODE(2,12,9)
  • E_MultimodalBusy                                  = ERROR_CODE(2,12,10)
  • E_MultimodalNotAcceptable                         = ERROR_CODE(2,12,11)
  • E_MultimodalNoResponse                            = ERROR_CODE(2,12,12)
  • E_MultimodalNotImplemented                        = ERROR_CODE(2,12,13)
  • E_MultimodalCannotReach                           = ERROR_CODE(2,12,14)
  • E_MultimodalCannotReachBusy                       = ERROR_CODE(2,12,15)
  • E_MultimodalServerTimeout                         = ERROR_CODE(2,12,16)
  • E_MultimodalGenericError                          = ERROR_CODE(2,12,17)
  • E_MultimodalFeatureNotEnabled                     = ERROR_CODE(2,12,18)

Apple Core Foundation (CF) Error Codes

Name resolution errors

  •  kCFHostErrorHostNotFound                     = 1
  • kCFHostErrorUnknown                          = 2

SOCKS errors

  • kCFSOCKSErrorUnknownClientVersion           = 100
  • kCFSOCKSErrorUnsupportedServerVersion       = 101

SOCKS4-specific errors

  • kCFSOCKS4ErrorRequestFailed                 = 110
  • kCFSOCKS4ErrorIdentdFailed                  = 111
  • kCFSOCKS4ErrorIdConflict                    = 112
  • kCFSOCKS4ErrorUnknownStatusCode             = 113

SOCKS5-specific errors

  • kCFSOCKS5ErrorBadState                      = 120
  • kCFSOCKS5ErrorBadResponseAddr               = 121
  • kCFSOCKS5ErrorBadCredentials                = 122
  • kCFSOCKS5ErrorUnsupportedNegotiationMethod  = 123
  • kCFSOCKS5ErrorNoAcceptableMethod            = 124

FTP errors

  • kCFFTPErrorUnexpectedStatusCode             = 200

HTTP errors

  • kCFErrorHTTPAuthenticationTypeUnsupported   = 300
  • kCFErrorHTTPBadCredentials                  = 301
  • kCFErrorHTTPConnectionLost                  = 302
  • kCFErrorHTTPParseFailure                    = 303
  • kCFErrorHTTPRedirectionLoopDetected         = 304
  • kCFErrorHTTPBadURL                          = 305
  • kCFErrorHTTPProxyConnectionFailure          = 306
  • kCFErrorHTTPBadProxyCredentials             = 307
  • kCFErrorPACFileError                        = 308
  • kCFErrorPACFileAuth                         = 309
  • kCFErrorHTTPSProxyConnectionFailure         = 310

CFURL and CFURLConnection Errors

  • kCFURLErrorUnknown                          = -998
  • kCFURLErrorCancelled                        = -999
  • kCFURLErrorBadURL                           = -1000
  • kCFURLErrorTimedOut                         = -1001
  • kCFURLErrorUnsupportedURL                   = -1002
  • kCFURLErrorCannotFindHost                   = -1003
  • kCFURLErrorCannotConnectToHost              = -1004
  • kCFURLErrorNetworkConnectionLost            = -1005
  • kCFURLErrorDNSLookupFailed                  = -1006
  • kCFURLErrorHTTPTooManyRedirects             = -1007
  • kCFURLErrorResourceUnavailable              = -1008
  • kCFURLErrorNotConnectedToInternet           = -1009
  • kCFURLErrorRedirectToNonExistentLocation    = -1010
  • kCFURLErrorBadServerResponse                = -1011
  • kCFURLErrorUserCancelledAuthentication      = -1012
  • kCFURLErrorUserAuthenticationRequired       = -1013
  • kCFURLErrorZeroByteResource                 = -1014
  • kCFURLErrorCannotDecodeRawData              = -1015
  • kCFURLErrorCannotDecodeContentData          = -1016
  • kCFURLErrorCannotParseResponse              = -1017
  • kCFURLErrorInternationalRoamingOff          = -1018
  • kCFURLErrorCallIsActive                     = -1019
  • kCFURLErrorDataNotAllowed                   = -1020
  • kCFURLErrorRequestBodyStreamExhausted       = -1021
  • kCFURLErrorFileDoesNotExist                 = -1100
  • kCFURLErrorFileIsDirectory                  = -1101
  • kCFURLErrorNoPermissionsToReadFile          = -1102
  • kCFURLErrorDataLengthExceedsMaximum         = -1103

SSL errors

  • kCFURLErrorSecureConnectionFailed           = -1200
  • kCFURLErrorServerCertificateHasBadDate      = -1201
  • kCFURLErrorServerCertificateUntrusted       = -1202
  • kCFURLErrorServerCertificateHasUnknownRoot  = -1203
  • kCFURLErrorServerCertificateNotYetValid     = -1204
  • kCFURLErrorClientCertificateRejected        = -1205
  • kCFURLErrorClientCertificateRequired        = -1206
  • kCFURLErrorCannotLoadFromNetwork            = -2000

Download and file I/O errors

  • kCFURLErrorCannotCreateFile                 = -3000
  • kCFURLErrorCannotOpenFile                   = -3001
  • kCFURLErrorCannotCloseFile                  = -3002
  • kCFURLErrorCannotWriteToFile                = -3003
  • kCFURLErrorCannotRemoveFile                 = -3004
  • kCFURLErrorCannotMoveFile                   = -3005
  • kCFURLErrorDownloadDecodingFailedMidStream  = -3006
  • kCFURLErrorDownloadDecodingFailedToComplete = -3007

Cookie errors

  • kCFHTTPCookieCannotParseCookieFile          = -4000

Errors originating from CFNetServices

  • kCFNetServiceErrorUnknown                   = -72000L
  • kCFNetServiceErrorCollision                 = -72001L
  • kCFNetServiceErrorNotFound                  = -72002L
  • kCFNetServiceErrorInProgress                = -72003L
  • kCFNetServiceErrorBadArgument               = -72004L
  • kCFNetServiceErrorCancel                    = -72005L
  • kCFNetServiceErrorInvalid                   = -72006L
  • kCFNetServiceErrorTimeout                   = -72007L
  • kCFNetServiceErrorDNSServiceFailure         = -73000L

Lync Mobile error codes for Apple iOS and Android devices defined.

About Sushil G

Hi, my name is Sushil and I am an experienced content writer with a passion for technology. For the past 10 years, I have been specializing in Microsoft products like Azure AD, Exchange, Skype for Business (SFB), and Teams. My in-depth knowledge of these products has enabled me to help many individuals and businesses to achieve their goals by leveraging the power of Microsoft technology. As a content writer, I enjoy taking complex technical concepts and breaking them down into easy-to-understand language. I'm always eager to learn about the latest trends and advancements in the industry and share my knowledge and expertise with others. If you need help in understanding Microsoft products and maximizing their potential, I'm here to help.