---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/api/errors/81021#article
headline: "81021: Flow revision must be an integer or enum(LatestPublished, LatestRevision)"
url: https://www.twilio.com/docs/api/errors/81021
inLanguage: en
dateModified: 2026-03-11T22:03:37.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# 81021: Flow revision must be an integer or enum(LatestPublished, LatestRevision)

Log Type: APPLICATION

Log Level: ERROR

## Description

The Revision was invalid. Revision must be an integer or enum(LatestPublished, LatestRevision).

### Possible causes

* Revision did not match a valid option

### Possible solutions

* Check the value and ensure it is either an integer or one of the magic identifiers: LatestPublished or LatestRevision
