Android error codes - SourcePointUSA/android-cmp-app GitHub Wiki

Android error codes

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

Name Code Description
GenericSDKException sp_metric_generic_sdk_error Catch-all exception
InvalidLocalDataException sp_metric_invalid_local_data Property is missing from local storage or in a configuration object
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