---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/api/errors/54101#article
headline: "54101: Invalid Document data"
url: https://www.twilio.com/docs/api/errors/54101
inLanguage: en
dateModified: 2026-06-09T11:00:42.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# 54101: Invalid Document data

Log Level: ERROR

## Description

Twilio returned this error because the `Data` parameter in your Sync Document request is missing or `null`. For operations that create or update a Sync Document, send `Data` as a serialized UTF-8 JSON object.

### Possible causes

* Your request does not include the `Data` parameter.
* Your request sets `Data` to `null`.
* Your application sends a value that is not a valid serialized JSON object.
* Your application clears or overwrites the request body before Twilio receives it.

### Possible solutions

* Include the `Data` parameter in your request when you create or update a Sync Document.
* Make sure `Data` contains a valid serialized UTF-8 JSON object.
* Check your client or server code to confirm the request body is populated before you send the request.
* If you build requests with an SDK or helper library, log the outgoing payload and verify that `Data` is present and not `null`.
* Validate your JSON before sending the request to avoid malformed or empty document data.

#### Additional resources

* [Twilio Sync Documents overview](/docs/sync/api/document-resource)
* [Twilio Sync API overview](/docs/sync/api)
* [Sync quickstart](/docs/sync/quickstart)
