> ## Documentation Index
> Fetch the complete documentation index at: https://docs.maia.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Resource exceeds size limit

> Resolve the error returned when a file in your branch is larger than 5 MB.

## Error message

```text wrap theme={null}
Resource publication failure: <pipeline>. Error: Resource exceeds size limit
```

This error can appear when Maia runs or publishes a pipeline.

### Explanation

Maia can't run or [publish](https://docs.maia.ai/docs/guides/git-push.md) pipelines on a branch that contains any files larger than 5 MB.

### Potential causes

A file in your branch is larger than 5 MB.

***

## Resolve the error

1. Locate any files larger than 5 MB using one of the following options:

   * Ask Maia Team to locate any files larger than 5 MB for you.
   * [Export](https://docs.maia.ai/docs/guides/import-and-export-files.md#export-files) your entire branch as a `.zip` file, then use your local operating system's file manager or terminal tools to find files exceeding 5 MB.

2. Delete the oversized files directly within Maia.

3. Run or publish the pipeline again.

4. If you still need help, [contact Maia Support](https://support.matillion.com/s/) and include the items listed below.

   * The full error text.
   * The root pipeline execution ID.
   * The Maia runner ID and time of failure (UTC).

### Prevent future errors

To prevent this error occurring again, make sure that no file in your branch is larger than 5 MB.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.