# MAX FILE SIZE

### Property description

The property of limiting the size of uploaded files in bytes. Exceeding file size causes an error toast message.

<div align="left"><img src="https://lh3.googleusercontent.com/_fWMc5Z4VYYVR8iYD16AOM5-xVBjYTqKVY0kJkya39rRHKZlU5czzuh4SCrGfqjJI5Ccdl9zhGvpT_5Ineq70iOkhsmjlTilTYuPwLMAe-zLG2gX9Fid-80QtW2S66LpU-1ZTY8X" alt="Constant maximum file size in bytes"></div>

<div align="left"><img src="https://lh5.googleusercontent.com/-wrsGVP9XL_o5QcVNEFy6Y01ALDx1EpWoMUyDLaVEgWE7QAdvTP9zNwnNlbjc0Vp9LH9-JNMQYjRiH_3Vu05PS1yeyI7zIgBl0Ogz-AsMNAlzmu8XIQ4kFFxGUXNKohc98eRLphC" alt="ƒx (Number): Limiting the size of the number in bytes"></div>

### State

Limiting a file size.

### Value type

Any number in bytes.

### Availability

[File Upload](/reference-guide/components-list/file-upload.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.adapptio.com/reference-guide/properties/max-file-size.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
