---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/api/errors/81022#article
headline: "81022: Flow definition validation failed"
url: https://www.twilio.com/docs/api/errors/81022
inLanguage: en
dateModified: 2026-03-11T22:03:37.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# 81022: Flow definition validation failed

Log Type: APPLICATION

Log Level: ERROR

## Description

The Flow Definition is invalid. Check the error response details for an array of validation failures.

### Possible causes

* Definition contains properties that do not match the schema
* Widget names are not unique
* Transition references a widget that doesn't exist

### Possible solutions

* Verify the definition adheres to the JSON schema
* Ensure widget names are all unique
* Remove transitions that reference widgets that don't exist
