Skip to main content

Error Signals

Updated: Oct 21, 2025 The OTP Android SDK is in beta and features a simplified workflow for implementing one-tap and zero-tap authentication templates. You can learn how to use it below. This document describes Android-only error signals that can help you debug one-tap autofill authentication templates and zero-tap authentication templates. If your message fails the eligibility check, the one-tap autofill button will be replaced with a copy code button. In addition, there may be device or WhatsApp client settings that prevent message notifications. To help with debugging, our apps surface some error information via the com.whatsapp.OTP_ERROR intent. In these situations you will receive an error key and message instead of the user’s one-time passwords or verification code. Note that some of these error signals will only surface if you are running WhatsApp in the Android emulator.

Integration

The error signals are delivered via broadcasted intent so you must implement BroadcastReceiver to listen for error signals.

In manifest.xml

Receiver class - Using the SDK (Preferred)

Implement onReceive and use a WhatsAppOtpIncomingIntentHandler object to process the debug signals.

Receiver class - Without the SDK

Did you find this page helpful? Thumbs up icon Thumbs down icon ON THIS PAGE Integration In manifest.xml Receiver class - Using the SDK (Preferred) Receiver class - Without the SDK