WatificationDocs

Message target is invalid

The send request does not name exactly one target.

Code
MESSAGE_TARGET_INVALID
HTTP status
400

What to do now

  1. Send exactly one target. See Send messages for the supported combinations.

Why this happens

  • The body has none, or more than one, of conversationId, contactId with channelConnectionId, or phone with channelConnectionId.

Before you retry

Resolve the issue first. Do not loop on this error. For an uncertain POST result, keep the original body and idempotency key; use a new key only for an intentional new operation.

Related reference

On this page