# 31106: Invalid data

Log Level: ERROR

## Description

31106 means the data passed to the Voice SDK was not valid. On Android, `Voice.handleMessage(context, data)` returns `false` when the data is not a Twilio Voice push message, and `CallInvite.isValid(...)` validates whether a payload is a valid notification sent by Twilio.

### Possible causes

* You passed a payload to `Voice.handleMessage(context, data)` that is not a Twilio Voice push message.
* The payload does not pass `CallInvite.isValid(...)` for a Twilio Voice notification.

### Possible solutions

* Call `CallInvite.isValid(...)` before you process the payload, and only continue when it returns `true`.
* Use `Voice.handleMessage(context, data)` only for Twilio Voice push messages, and treat a `false` return value as non-Voice data.

#### Additional resources

* [Voice SDK Error Codes](/docs/voice/sdks/error-codes)
* [Voice Android SDK Changelog](/docs/voice/sdks/android/3x-changelog)
* [Getting Started with the Voice Android SDK](/docs/voice/sdks/android/get-started)
