<!-- 0Gkit docs — DA_INVALID_PAYLOAD
     Source: https://docs.0gkit.com/errors/DA_INVALID_PAYLOAD
     LLM-friendly Markdown twin of the page. -->

# DA_INVALID_PAYLOAD

**DA payload empty or oversized**

## What happened

The DA layer received a payload that's either zero-length or exceeds the per-blob size limit.

## How to fix

Validate the payload length before submitting. For very large payloads, chunk into multiple DA publishes and reference them in a manifest.

## Example

```ts
if (payload.length === 0 || payload.length > MAX) {
  throw new Error("invalid payload size");
}
```

## Reference

- Namespace: `DA`
- Help URL: `https://0gkit.com/errors/DA_INVALID_PAYLOAD`
- See also: [all error codes](/errors)
