← Blog

·

Error 100 (Invalid Parameter) in the WhatsApp Graph API

Updated on November 10, 2026

WhatsApp Business API error 100, shown as (#100) Invalid parameter, means the request included one or more unsupported or misspelled parameters. Meta recommends checking the endpoint reference to see which parameters it supports and how they’re spelled. The documented causes include a wrong field name, a value over the length limit, a phone number ID that doesn’t match one stored earlier, an invalid public key in WhatsApp Flows, and sending a non-template message through the Marketing Messages API.

This guide walks through each cause, explains why hunting for the error “subcode” won’t help, shows where the API version comes in, and gives you a routine to find the offending field.

What Meta says about error 100

Code 100 appears twice in the Cloud API error codes table.

In the “other errors” group, the description is: The request included one or more unsupported or misspelled parameters. The possible causes and fixes listed are:

Documented causeWhat to do
Unsupported or misspelled parameterCheck the endpoint reference for supported parameters and their spelling
WhatsApp Flows with endpoint: invalid business public keyUse a valid 2048-bit RSA public key in PEM format
Phone number ID doesn’t match a previously stored phone number IDMake sure the PHONE_NUMBER_ID you’re registering is the same as before
Value longer than allowedRespect the length restriction for that field type

In the Marketing Messages API group, 100 appears with the title (#100) Invalid parameter and HTTP status 400. The cause is trying to send a non-template message through that API: the message type must be template, and the recommendation is to try again with a marketing template.

What about subcodes?

The classic way to debug error 100 is the list of subcodes (error_subcode). On the WhatsApp API, that changed: the error table itself says error_subcode is deprecated and isn’t returned in v16.0+ responses, and that not every response includes a subcode. Meta recommends building your error handling around code and details.

In practice, to tell error 100 variants apart, read:

  • error.message, which often names the parameter;
  • error.error_data.details, with the failure detail;
  • error.fbtrace_id, for support.

The documented response structure is:

{
  "error": {
    "message": "(#100) Invalid parameter",
    "type": "<type>",
    "code": 100,
    "error_data": {
      "messaging_product": "whatsapp",
      "details": "<which parameter and why>"
    },
    "fbtrace_id": "<id>"
  }
}

The general Graph API error handling guide also describes the error_user_title and error_user_msg fields, which some responses include with text ready to show to the user.

Want to try it while you read? Create a Vectalk account and send your first message through the official API. Create free account →

Cause 1: invalid or misspelled field

This is the most common one. Some examples that produce an “unsupported parameter”:

  • a typo in the field name (mesaging_product, templete, langauge);
  • a field at the wrong level of the JSON (for example, language outside template);
  • a field that exists on another endpoint but not this one;
  • a field in camelCase when the API expects snake_case (phoneNumberId instead of phone_number_id).

Compare against a payload you know works:

{
  "messaging_product": "whatsapp",
  "to": "15551234567",
  "type": "template",
  "template": {
    "name": "order_confirmed",
    "language": { "code": "en_US" },
    "components": [
      {
        "type": "body",
        "parameters": [ { "type": "text", "text": "4821" } ]
      }
    ]
  }
}

If the problem is a missing required parameter or a value outside the accepted list, Meta tends to use more specific codes, 131008 and 131009, covered in errors 131008 and 131009.

Cause 2: wrong ID

Error 100 has a documented ID-related cause: the PHONE_NUMBER_ID you’re registering doesn’t match a previously stored phone number ID. This shows up, for example, when a system stores one number’s ID and later tries to register another number with the old configuration.

Beyond that, check every ID in the URL:

  • /<PHONE_NUMBER_ID>/messages takes the phone number ID, not the account (WABA) ID or the phone number itself;
  • /<WABA_ID>/message_templates takes the account ID;
  • the ID belongs to the same environment (test or production) as the token you’re using.

To quickly confirm an ID belongs to a phone number, GET it:

curl "https://graph.facebook.com/v27.0/$PHONE_NUMBER_ID?fields=display_phone_number,verified_name" \
  -H "Authorization: Bearer $TOKEN"

If the response includes display_phone_number, it’s a phone number ID. Where to find each ID is in how to find the WhatsApp Phone Number ID, WABA ID and App ID. If the problem is the token’s permission on that ID, you’ll usually get a different code: see permission errors 10 and 200 and error 190 for access tokens.

Cause 3: API version

The version goes in the URL (/v27.0/). According to the Graph API versioning guide, checked on November 10, 2026:

  • the latest version is v27.0;
  • each version works for at least two years;
  • unversioned calls use the default version set in the app dashboard (Settings > Advanced), and Meta recommends always specifying a version;
  • when a version is no longer available, calls to it are routed to the next older available version.

Why this matters for error 100: if you use a parameter that was introduced or changed format in a version different from the one in your URL, the API may not recognize it. Pin the version in a config variable, use the same version across your codebase and read the changelog before upgrading. A common example is v19.0 in one service and v27.0 in another, with payloads copied between them.

Cause 4: length limit

The error table lists “parameter over the length restriction for its type” as a cause of 100. Body, header, footer and button text, as well as template names, each have their own limits, documented in the reference for each message type. If the error only shows up for some customers or some orders, suspect a variable field that sometimes goes over the limit (product name, address, order notes). Validate length before sending.

Cause 5: WhatsApp Flows with an endpoint

When setting the business public key for Flows that use an endpoint, the key must be a 2048-bit RSA public key in PEM format. A key in another format, with a different size or with line breaks lost when pasted into JSON triggers 100. Generate it like this and send the public file’s content, with line breaks escaped as \n:

openssl genrsa -out private.pem 2048
openssl rsa -in private.pem -pubout -out public.pem

Cause 6: Marketing Messages API with a non-template message

If you use the Marketing Messages API, only templates are accepted. Sending type: "text" or any other type through it returns (#100) Invalid parameter with HTTP 400. Send a marketing template instead.

100, 131008, 131009 or 135000?

CodeMeta’s description (summary)Clue
100Unsupported or misspelled parameterThe field’s name or format
131008Missing required parameterA field that should be there
131009Invalid parameter valueThe field’s content
135000Unknown error with request parametersDoesn’t say which; use the 135000 checklist

A full map is in our guide to WhatsApp API error codes.

A routine to find the offending field

  1. Read message and details: the field name is often right there.
  2. Check the version in the URL and whether it matches the rest of your code.
  3. Check every ID in the URL with a GET.
  4. Validate the JSON and compare each field’s name and nesting level with the endpoint reference.
  5. Check the length of variable fields.
  6. Strip the payload to the minimum and add fields back one at a time until the error returns.
  7. If everything matches, open a ticket with the fbtrace_id, timestamp and payload without personal data.

And in your code: 100 is a request error, not an availability error. Don’t auto-retry; send the message to a review queue and log the payload with the error.

def classify(error):
    code = error.get("code")
    if code in (100, 131008, 131009, 135000):
        return "review_payload"        # don't repeat as is
    if code in (1, 2, 131000):
        return "retry"
    return "other"

How to do this with Vectalk

Vectalk is a proxy for Meta’s official Cloud API, and the error codes are Meta’s, so error 100 arrives with the same code. Sending is POST https://apis.vectalk.com.br/api/messages, as shown in the documentation; the request body follows Meta’s reference, and the rules above apply the same way. In the dashboard, the instances area shows the phone number and account IDs so you can check cause 2, and the logs help you find the failed request.

For the big picture, see our official WhatsApp API guide. To get started, create your account.

Frequently asked questions

What does error 100 mean in the WhatsApp API?

That the request includes one or more unsupported or misspelled parameters. Meta recommends checking the endpoint reference for the parameters it supports.

Where do I find the error 100 subcode?

On the WhatsApp API, error_subcode is deprecated and isn’t returned from v16.0 on. Use message and error_data.details to identify the variant.

Can an old API version cause error 100?

It can, if you send a parameter that doesn’t exist or has a different format in the version in your URL. Pin the version and use the same one everywhere.

Can error 100 be caused by a wrong ID?

Yes. Meta documents the case of a phone number ID that doesn’t match one stored earlier during registration. Also check that you used the phone number ID, not the account ID, in /messages.

Should I retry on error 100?

No. The same payload will fail the same way. Fix the parameter and send again.


Official sources checked on November 10, 2026: Cloud API error codes, Graph API error handling, Graph API versioning, Business phone numbers, Vectalk documentation.

Try the official WhatsApp API today

Create your account, generate a token and send your first message with the quick-start guide. Same payloads and webhooks as Meta's Cloud API.