---
page_type: error
code: 81021
message: >-
  81021: Flow revision must be an integer or enum(LatestPublished,
  LatestRevision)
level: ERROR
product: Studio
---

## 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