When working with WhatsApp Flows, you might encounter the error:

"100 Invalid Flow JSON data_api_version"

This error occurs when the Data API version specified in your API call is incorrect, missing, or outdated. Below, we’ll break down why this happens and how to fix it.

Why This Error Occurs?

  1. Incorrect Version Format – A typo or formatting issue in the version string.

  2. Missing Version – The data_api_version field is left blank.

  3. Deprecated Version – The version specified is outdated and no longer supported.

How to Fix It?

1. Check for Typing Errors

Ensure that you have entered the version number correctly. WhatsApp API versions follow a format like v17.0, v18.0, etc. Verify the syntax in your API request.

2. Specify a Version (If Missing)

If your request does not include a data_api_version, explicitly set it to the latest supported version.

Example:

{
  "data_api_version": "v18.0",
  "flow": { ... }
}

3. Use a Supported API Version

If the version you’re using is no longer active, update it to the latest supported version.

For more troubleshooting tips related to WhatsApp API check out our heltar.com/blogs.