MBT Company
← All pages in this section

PHONE_ONLY_FOR_WHATSAPP

Status: 400 Bad Request

What it means

A phone number was given, but it is only used when the access is sent by WhatsApp.

What to do

Remove the phone number, or choose WhatsApp to send the access.

Example of the answer

The API answers with this JSON (title and detail change with the situation and the language):

{
  "type": "https://docs.mbtcompany.eu/errors/phone-only-for-whatsapp",
  "title": "Bad Request",
  "status": 400,
  "detail": "A phone number was given, but it is only used when the access is sent by WhatsApp.",
  "code": "PHONE_ONLY_FOR_WHATSAPP"
}