All Products
Search
Document Center

Application Real-Time Monitoring Service:Network service error codes

Last Updated:Mar 11, 2026

ARMS User Experience Monitoring captures network error codes from HTTP responses and platform-specific APIs when monitoring web and mobile applications. These codes appear in your network request analysis dashboards.

Use this reference to identify the root cause of a network error and determine your next debugging step.

HTTP status codes

HTTP status codes follow the standards defined in RFC 9110. Codes in the 4xx range indicate client-side issues, while 5xx codes point to server-side failures.

Client error responses (4xx)

Error codeNameDescription
400Bad RequestThe server cannot process the request due to a client error such as malformed syntax or invalid parameters.
401UnauthorizedThe request lacks valid authentication credentials. This code indicates that the client is not authenticated, rather than lacking authorization (see 403).
402Payment RequiredReserved for future use. Some APIs use this code to indicate a billing or quota issue.
403ForbiddenThe server understood the request but refuses to fulfill it. Unlike 401, the client's identity is known but lacks permission.
404Not FoundThe server cannot find the requested resource. The URL may be incorrect or the resource may have been removed.
405Method Not AllowedThe HTTP method used in the request is not supported for the target resource.
406Not AcceptableThe server cannot produce a response that matches the client's Accept headers.
407Proxy Authentication RequiredThe client must authenticate with the proxy before the request can proceed.
408Request Time-outThe server timed out waiting for the client to complete the request.
409ConflictThe request conflicts with the current state of the target resource.
410GoneThe resource has been permanently removed and no forwarding address is available.
411Length RequiredThe server requires a Content-Length header in the request.
412Precondition FailedA precondition specified in the request headers evaluated to false on the server.
413Request Entity Too LargeThe request payload exceeds the size limit that the server is willing to process.
414Request-URI Too LargeThe request URI exceeds the length that the server is willing to interpret.
415Unsupported Media TypeThe request payload uses a media type that the server does not support.
416Requested range not satisfiableThe range specified in the Range header cannot be fulfilled.
417Expectation FailedThe expectation specified in the Expect header cannot be met by the server.

Server error responses (5xx)

Error codeNameDescription
500Internal Server ErrorThe server encountered an unexpected condition that prevented it from fulfilling the request.
501Not ImplementedThe server does not support the functionality required to fulfill the request.
502Bad GatewayThe server, acting as a gateway or proxy, received an invalid response from an upstream server.
503Service UnavailableThe server is temporarily unable to handle the request, typically due to maintenance or overload.
504Gateway Time-outThe server, acting as a gateway or proxy, did not receive a timely response from an upstream server.
505HTTP Version Not SupportedThe server does not support the HTTP version used in the request.

Android error codes

Android network error codes originate from the WebView and network stack APIs. Negative codes represent connection and network errors, while positive codes indicate SSL certificate issues.

Connection and network errors

Error codeNameCategoryDescription
-1Generic errorGeneralAn unspecified network error occurred.
-2Server or proxy hostname lookup failedDNSThe DNS lookup for the server or proxy hostname failed. Verify the hostname and check DNS configuration.
-3Unsupported authentication scheme (not basic or digest)AuthenticationThe server requires an authentication scheme that the client does not support. Only Basic and Digest schemes are supported.
-4User authentication failed on serverAuthenticationThe credentials provided for server authentication are invalid.
-5User authentication failed on proxyAuthenticationThe credentials provided for proxy authentication are invalid.
-6Failed to connect to the serverConnectionThe client could not establish a TCP connection to the server. The server may be down or the port may be blocked.
-7Failed to read or write to the serverConnectionThe connection was established but data transfer failed. This typically indicates a connection drop during communication.
-8Connection timed outConnectionThe connection attempt or data transfer exceeded the allowed time limit.
-9Too many redirectsRedirectThe request was redirected too many times, likely indicating a redirect loop.
-10Unsupported URI schemeURIThe URI uses a scheme that the client does not support.
-11Failed to perform SSL handshakeSSL/TLSThe SSL/TLS handshake with the server failed. This may indicate a protocol mismatch or invalid certificate.
-12Malformed URLURIThe URL is not properly formatted.
-13Generic file errorFileAn unspecified file-related error occurred.
-14File not foundFileThe requested file does not exist on the device.
-15Too many requests during this loadRate limitThe page triggered too many simultaneous requests during loading.
-16Resource load was cancelled by Safe BrowsingSecurityGoogle Safe Browsing blocked the resource because it was flagged as potentially harmful.

Certificate errors

Error codeNameDescription
1The certificate has expiredThe server's SSL certificate has passed its expiration date.
2Hostname mismatchThe certificate's Common Name (CN) or Subject Alternative Name (SAN) does not match the requested hostname.
3The certificate authority is not trustedThe certificate was issued by a certificate authority that the device does not trust.
4The date of the certificate is invalidThe certificate's validity period has not started yet or has already ended.
5A generic error occurredAn unspecified certificate validation error occurred.

iOS error codes

iOS error codes come from several Apple frameworks, grouped below by domain.

URL loading system errors (NSURLError)

These errors originate from the NSURLSession and NSURLConnection APIs.

Unknown and cancelled requests

Error codeNameDescription
-1NSURLErrorUnknownAn unknown URL loading error occurred.
-999NSURLErrorCancelledThe request was explicitly cancelled by the application or the system.

Background session errors

Error codeNameDescription
-995NSURLErrorBackgroundSessionRequiresSharedContainerThe background session requires a shared container between the app and its extensions.
-996NSURLErrorBackgroundSessionInUseByAnotherProcessAnother process is already using the background session.
-997NSURLErrorBackgroundSessionWasDisconnectedThe background session was disconnected from the app.

URL and connection errors

Error codeNameDescription
-1000NSURLErrorBadURLThe URL is malformed or uses an unsupported scheme.
-1001NSURLErrorTimedOutThe request timed out before receiving a response.
-1002NSURLErrorUnsupportedURLThe URL uses a scheme that the system does not support.
-1003NSURLErrorCannotFindHostDNS resolution failed for the specified hostname.
-1004NSURLErrorCannotConnectToHostThe client could not establish a connection to the server.
-1005NSURLErrorNetworkConnectionLostThe network connection was lost during the request.
-1006NSURLErrorDNSLookupFailedThe DNS lookup returned an error.
-1007NSURLErrorHTTPTooManyRedirectsThe request exceeded the maximum number of allowed redirects.
-1008NSURLErrorResourceUnavailableThe requested resource is not available.
-1009NSURLErrorNotConnectedToInternetThe device has no active internet connection.
-1010NSURLErrorRedirectToNonExistentLocationThe redirect points to a URL that does not exist.
-1011NSURLErrorBadServerResponseThe server returned an invalid or unexpected response.
-1012NSURLErrorUserCancelledAuthenticationThe user cancelled the authentication challenge.
-1013NSURLErrorUserAuthenticationRequiredThe resource requires user authentication.
-1014NSURLErrorZeroByteResourceThe server returned a response with zero bytes of content.
-1015NSURLErrorCannotDecodeRawDataThe response data could not be decoded from its raw format.
-1016NSURLErrorCannotDecodeContentDataThe response data could not be decoded using the expected content encoding.
-1017NSURLErrorCannotParseResponseThe response could not be parsed.

Network availability errors

Error codeNameDescription
-1018NSURLErrorInternationalRoamingOffThe connection failed because international roaming is disabled on the device.
-1019NSURLErrorCallIsActiveThe connection failed because a phone call is active and the data network is unavailable.
-1020NSURLErrorDataNotAllowedThe connection failed because cellular data usage is not permitted.
-1021NSURLErrorRequestBodyStreamExhaustedThe request body stream was exhausted before delivering all content.

App Transport Security

Error codeNameDescription
-1022NSURLErrorAppTransportSecurityRequiresSecureConnectionApp Transport Security blocked the request because it requires an HTTPS connection.

File system errors

Error codeNameDescription
-1100NSURLErrorFileDoesNotExistThe requested file does not exist at the specified path.
-1101NSURLErrorFileIsDirectoryThe requested path points to a directory, not a file.
-1102NSURLErrorNoPermissionsToReadFileThe application does not have permission to read the file.
-1103NSURLErrorDataLengthExceedsMaximumThe data length exceeds the maximum allowed by the system.
-1104NSURLErrorFileOutsideSafeAreaThe file is located outside the designated safe area for access.

SSL/TLS certificate errors

Error codeNameDescription
-1200NSURLErrorSecureConnectionFailedThe SSL/TLS handshake failed when establishing a secure connection.
-1201NSURLErrorServerCertificateHasBadDateThe server certificate has an invalid date (expired or not yet valid).
-1202NSURLErrorServerCertificateUntrustedThe server certificate is not trusted by the device's trust store.
-1203NSURLErrorServerCertificateHasUnknownRootThe server certificate was signed by an unknown root certificate authority.
-1204NSURLErrorServerCertificateNotYetValidThe server certificate is not yet within its valid date range.
-1205NSURLErrorClientCertificateRejectedThe server rejected the client certificate provided during the handshake.
-1206NSURLErrorClientCertificateRequiredThe server requires a client certificate for authentication.

Network loading and download errors

Error codeNameDescription
-2000NSURLErrorCannotLoadFromNetworkThe system cannot load the resource from the network. A cached version may be required.
-3000NSURLErrorCannotCreateFileThe system failed to create a file for the download.
-3001NSURLErrorCannotOpenFileThe system failed to open a file for the download.
-3002NSURLErrorCannotCloseFileThe system failed to close a file after the download.
-3003NSURLErrorCannotWriteToFileThe system failed to write data to the download file.
-3004NSURLErrorCannotRemoveFileThe system failed to remove a file during the download process.
-3005NSURLErrorCannotMoveFileThe system failed to move the downloaded file to its destination.
-3006NSURLErrorDownloadDecodingFailedMidStreamDecoding of the downloaded data failed during transfer.
-3007NSURLErrorDownloadDecodingFailedToCompleteDecoding of the downloaded data failed to complete.

Mach kernel errors

These low-level system errors originate from the Mach kernel and may surface when system resources are exhausted or kernel-level operations fail.

Error codeNameDescription
1invalidAddressAn invalid memory address was referenced.
2protectionFailureA memory protection violation occurred.
3noSpaceNo space is available for the requested operation.
4invalidArgumentAn invalid argument was passed to a kernel function.
5failureA general kernel operation failure occurred.
6resourceShortageInsufficient system resources to complete the operation.
7notReceiverThe target port is not a valid receiver.
8noAccessAccess to the requested resource was denied.
9memoryFailureA memory allocation or access failure occurred.
10memoryErrorA general memory error occurred.
11alreadyInSetThe item is already a member of the specified set.
12notInSetThe item is not a member of the specified set.
13nameExistsThe specified name already exists.
14abortedThe operation was aborted.
15invalidNameThe specified name is invalid.
16invalidTaskThe specified task is invalid.
17invalidRightThe specified right is invalid.
18invalidValueThe specified value is invalid.
19userReferencesOverflowUser references have overflowed.
20invalidCapabilityThe specified capability is invalid.
21rightExistsThe specified right already exists.
22invalidHostThe specified host is invalid.
23memoryPresentThe memory is already present.
24memoryDataMovedThe memory data has been moved.
25memoryRestartCopyThe memory copy operation must be restarted.
26invalidProcessorSetThe specified processor set is invalid.
27policyLimitA policy limit has been reached.
28invalidPolicyThe specified policy is invalid.
29invalidObjectThe specified object is invalid.
30alreadyWaitingThe thread is already in a waiting state.
31defaultSetThe operation involves the default set.
32exceptionProtectedThe exception is protected.
33invalidLedgerThe specified ledger is invalid.
34invalidMemoryControlThe specified memory control is invalid.
35invalidSecurityThe specified security attribute is invalid.
36notDepressedThe thread is not in a depressed state.
37terminatedThe task or thread has been terminated.
38lockSetDestroyedThe lock set has been destroyed.
39lockUnstableThe lock is in an unstable state.
40lockOwnedThe lock is owned by another thread.
41lockOwnedSelfThe lock is already owned by the current thread.
42semaphoreDestroyedThe semaphore has been destroyed.
43rpcServerTerminatedThe RPC server has been terminated.
44rpcTerminateOrphanThe orphaned RPC request was terminated.
45rpcContinueOrphanThe orphaned RPC request continues execution.
46notSupportedThe requested operation is not supported.
47nodeDownThe target node is unreachable or down.
48notWaitingThe thread is not in a waiting state.
49operationTimedOutThe kernel operation timed out.
50codesignErrorA code signature validation error occurred.
51policyStaticThe policy is static and cannot be changed.

Foundation framework errors (NSError)

These errors originate from the Apple Foundation framework and cover file operations, data handling, and system services.

File read errors

Error codeNameDescription
255NSFileLockingErrorA file locking operation failed.
256NSFileReadUnknownErrorAn unknown error occurred while reading a file.
257NSFileReadNoPermissionErrorThe application does not have permission to read the file.
258NSFileReadInvalidFileNameErrorThe file name is invalid.
259NSFileReadCorruptFileErrorThe file is corrupted and cannot be read.
260NSFileReadNoSuchFileErrorThe specified file does not exist.
261NSFileReadInapplicableStringEncodingErrorThe string encoding used to read the file is not applicable.
262NSFileReadUnsupportedSchemeErrorThe URI scheme is not supported for file reading.
263NSFileReadTooLargeErrorThe file is too large to read into memory.
264NSFileReadUnknownStringEncodingErrorThe string encoding of the file cannot be determined.

File write errors

Error codeNameDescription
512NSFileWriteUnknownErrorAn unknown error occurred while writing to a file.
513NSFileWriteNoPermissionErrorThe application does not have permission to write to the file.
514NSFileWriteInvalidFileNameErrorThe file name is invalid for writing.
516NSFileWriteFileExistsErrorA file already exists at the specified path.
517NSFileWriteInapplicableStringEncodingErrorThe string encoding used for writing is not applicable.
518NSFileWriteUnsupportedSchemeErrorThe URI scheme is not supported for file writing.
640NSFileWriteOutOfSpaceErrorThe disk does not have enough space to complete the write operation.
642NSFileWriteVolumeReadOnlyErrorThe volume is read-only and cannot be written to.

File manager errors

Error codeNameDescription
768NSFileManagerUnmountUnknownErrorAn unknown error occurred while unmounting a volume.
769NSFileManagerUnmountBusyErrorThe volume cannot be unmounted because it is in use.

Data validation and formatting errors

Error codeNameDescription
1024NSKeyValueValidationErrorA key-value coding validation error occurred.
2048NSFormattingErrorA data formatting error occurred.

User and feature errors

Error codeNameDescription
3072NSUserCancelledErrorThe user cancelled the operation.
3328NSFeatureUnsupportedErrorThe requested feature is not supported on this platform or configuration.

Executable errors

Error codeNameDescription
3584NSExecutableNotLoadableErrorThe executable cannot be loaded.
3585NSExecutableArchitectureMismatchErrorThe executable's architecture does not match the current processor.
3586NSExecutableRuntimeMismatchErrorThe executable requires a different runtime version.
3587NSExecutableLoadErrorAn error occurred while loading the executable.
3588NSExecutableLinkErrorAn error occurred while linking the executable.

Property list errors

Error codeNameDescription
3840NSPropertyListReadCorruptErrorThe property list is corrupted and cannot be read.
3841NSPropertyListReadUnknownVersionErrorThe property list uses an unknown version format.
3842NSPropertyListReadStreamErrorAn error occurred while reading the property list from a stream.
3851NSPropertyListWriteStreamErrorAn error occurred while writing the property list to a stream.
3852NSPropertyListWriteInvalidErrorThe data is invalid and cannot be written as a property list.

iCloud (ubiquitous file) errors

Error codeNameDescription
4353NSUbiquitousFileUnavailableErrorThe iCloud file is not currently available for download.
4354NSUbiquitousFileNotUploadedDueToQuotaErrorThe file was not uploaded to iCloud because the storage quota is exceeded.
4355NSUbiquitousFileUbiquityServerNotAvailableThe iCloud server is not available.

Coder errors

Error codeNameDescription
4864NSCoderReadCorruptErrorThe archived data is corrupted and cannot be decoded.
4865NSCoderValueNotFoundErrorThe expected value was not found in the archived data.
4866NSCoderInvalidValueErrorThe value in the archived data is invalid.

On-demand resource errors

Error codeNameDescription
4992NSBundleOnDemandResourceOutOfSpaceErrorThere is not enough disk space to download the on-demand resource.
4993NSBundleOnDemandResourceExceededMaximumSizeErrorThe on-demand resource exceeds the maximum allowed size.
4994NSBundleOnDemandResourceInvalidTagErrorThe specified tag for the on-demand resource is invalid.

CloudKit sharing errors

Error codeNameDescription
5120NSCloudSharingNetworkFailureErrorA network failure occurred during a CloudKit sharing operation.
5121NSCloudSharingQuotaExceededErrorThe CloudKit sharing quota is exceeded.
5122NSCloudSharingTooManyParticipantsErrorThe share has reached the maximum number of participants.
5123NSCloudSharingConflictErrorA conflict occurred during a CloudKit sharing operation.
5124NSCloudSharingNoPermissionErrorThe user does not have permission for the CloudKit sharing operation.
5375NSCloudSharingOtherErrorAn unspecified CloudKit sharing error occurred.