iOS Error Codes

In the table below, please find possible errors codes that you may encounter while implementing Sourcepoint for iOS:

Name

Code

Description

InvalidURL

sp_metric_invalid_url

When a URL cannot be constructed

UnableToLoadJSReceiver

sp_metric_unable_to_load_jsreceiver

The SDK wasn't able to load (or inject) the Javascript intercace into the webview

InvalidResponseWebMessage

sp_metric_invalid_response_web_message

when the response from getting the message is invalid

InvalidResponseNativeMessage

sp_metric_invalid_response_native_message

when the response from getting the native message is invalid

InvalidResponseConsent

sp_metric_invalid_response_consent

when the response from posting consent is invalid

InvalidResponseCustomConsent

sp_metric_invalid_response_custom_consent

when the response from posting custom consent is invalid

InvalidEventPayload

sp_metric_invalid_event_payload

the event payload coming from the webview is invalid

InvalidOnActionEventPayload

sp_metric_invalid_onAction_event_payload

event payloads are not expected onAction

InvalidRequestError

sp_metric_invalid_request_error

When the SDK does not have all the necessary data to perform a request.

RenderingApp

multiple

JS on error is called

WebView

sp_metric_web_view_error

WebView error handler

NoInternetConnection

sp_metric_no_internet_connection

User has no Internet connection.

InternalServer

sp_metric_internal_server_error_5xx

5xx

ResourceNotFound

sp_metric_resource_not_found_4xx

4xx

ConnectionTimeout

sp_metric_connection_timeout

Timed out when loading {url} after {x} seconds.

GenericNetworkRequest

sp_metric_generic_network_request

Generic network request error