# Timeout or Large Payload Error

**Symptom:**\
The Custom Action fails to run or returns an error related to loading or timing out.

**Reason:**\
Custom Actions have a 30-second timeout and a 5MB response size limit. Large or complex responses may exceed these limits and cause the app to freeze or data not to load or update as expected.

**Solution:**\
Reduce the size of the response data or request only the fields you need. You can test the endpoint outside Adalo to confirm it returns quickly. For larger data sets, you may need to reconsider your workflow and use an external tool to set up as expected.&#x20;


---

# 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://help.adalo.com/integrations/custom-actions/troubleshooting-custom-actions/timeout-or-large-payload-error.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.
