Skip to main content
The Zeotap SDKs send first-party events and identities from your app into Zeotap CDP. This page explains the 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:
The status field indicates the result of the function call. Possible values are:
  • 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.
The message field provides additional context about the status. Below are examples of the status and message combinations.

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>"}
For example:
  • {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: To set up the source in Zeotap CDP that receives this data, see Android SDK or iOS SDK.
Last modified on November 17, 2026