Error Codes
This page lists the official DPSDK Host App error codes.
| Code | Meaning |
|---|---|
SDK_NOT_INITIALIZED | DPSDK has not been initialized. |
CONFIG_NOT_LOADED | DPSDK global configuration is not loaded yet. |
APP_CONFIG_NOT_FOUND | DPSDK configuration for the requested appId was not found. |
INVALID_APP_ID | The provided appId is invalid. |
ENDPOINT_URL_NOT_SET | Required endpoint URL is not configured. |
RESPONSE_PARSE_FAILED | Failed to parse response. |
NETWORK_ERROR | Network request failed. |
REQUEST_TIMEOUT | Request timed out. |
SERVER_ERROR | Server returned an unexpected error. |
DELEGATE_NOT_SET | Required host-side handler is not registered. |
AUTH_PROVIDER_NOT_AVAILABLE | Host-side authentication capability is unavailable. |
AUTH_CODE_UNAVAILABLE | Authentication code is currently unavailable. |
FEATURE_NOT_SUPPORTED | This feature is not supported in the current host environment. |
MISSING_PARAMETER | Required parameter is missing. |
INVALID_PARAMETER | One or more parameters are invalid. |
INVALID_USER_DATA | User data is invalid. |
MISSING_URL | Required URL parameter is missing. |
INVALID_URL | The provided URL is invalid. |
MISSING_APP_ID | Required appId is missing. |
MISSING_CONFIG | Required config object is missing. |
INVALID_PRESENTATION_CONTEXT | Current page context does not support opening DPSDK. |
PAGE_CONTEXT_UNAVAILABLE | Current page context is no longer available. |
PAGE_NOT_FOUND | Target page was not found. |
CANNOT_OPEN_URL | The system cannot open the target URL. |
OPEN_URL_FAILED | Failed to open the target URL. |
OPEN_SETTINGS_FAILED | Failed to open system settings. |
SETTINGS_UNAVAILABLE | The target settings page is unavailable. |
PERMISSION_DENIED | Required system permission was denied. |
JSON_SERIALIZATION_FAILED | Failed to serialize response payload. |
UNKNOWN_EVENT_TYPE | Event type is not recognized. |
UNKNOWN_ERROR | An unknown error occurred. |