status and message values an SDK passes back to your app through an optional callback.
Looking for the full SDK developer documentation? See the Zeotap SDKs section for per-platform installation, configuration, API reference, consent, and release notes.
What this is
Many Zeotap SDK methods accept an optional callback as their final parameter. When the method finishes, the SDK invokes that callback with a short response object, so your app can log the outcome, inspect it during QA, or branch on it in code. The method-by-method signatures live in each SDK’s own API reference. This page covers only the response the callback receives.Supported SDKs
The callback is optional on every method that accepts one, and its parameter type is named differently on each platform:SDKCallback
The SDKCallback function receives data in the following format:- SUCCESS: Indicates successful completion of an operation.
- WARNING: Indicates potential issues or incomplete actions that require attention.
- ERROR: Indicates a failure or exception during the operation.
Success messages
{status: "SUCCESS", message: "SDK initialized successfully"}{status: "SUCCESS", message: "Event logged successfully"}{status: "SUCCESS", message: "Page properties set successfully"}{status: "SUCCESS", message: "User properties set successfully"}{status: "SUCCESS", message: "User identities set successfully"}
Warning messages
{status: "WARNING", message: "SDK already initialized"}{status: "WARNING", message: "SDK initialization is in progress"}{status: "WARNING", message: "SDK not initialized"}{status: "WARNING", message: "Event name is empty"}{status: "WARNING", message: "Event properties are empty"}{status: "WARNING", message: "User identities are empty"}{status: "WARNING", message: "User IDs already set"}{status: "WARNING", message: "User IDs not set as consent not provided"}{status: "WARNING", message: "Page properties are empty"}{status: "WARNING", message: "User properties are empty"}{status: "WARNING", message: "Event not logged as consent not provided"}{status: "WARNING", message: "Page properties not set as consent not provided"}{status: "WARNING", message: "User properties not set as consent not provided"}
Error messages
When the function encounters issues with the data provided or an exception occurs, it returns an ERROR status with a descriptive message:{status: "ERROR", message: "<error_message>"}
{status: "ERROR", message: "Failed to update user identities"}{status: "ERROR", message: "Invalid data format"}{status: "ERROR", message: "Null pointer exception"}
Next steps
Go back to the guide you came from:- Android SDK API reference — method signatures and callback examples for Android.
- iOS SDK API reference — method signatures and callback examples for iOS.
- React Native SDK API reference — method signatures and callback examples for React Native.
- Zeotap SDKs — installation, configuration, consent and release notes for every SDK.