# Serveless

**URL:** <https://community.hubspot.com/t/serveless/51760>\
**Category:** APIs & Integrations\
**Tags:** developer-tools\
**Created:** [February 17, 2022, 4:39pm UTC](https://community.hubspot.com/t/serveless/51760 "2022-02-17T16:39:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![APaez](https://avatars.discourse-cdn.com/v4/letter/a/4da419/32.png) [@APaez](https://community.hubspot.com/u/APaez)\
**Post date:** [February 17, 2022, 4:39pm UTC](https://community.hubspot.com/t/serveless/51760/1 "2022-02-17T16:39:06Z")

</div>

is there a way to increase the limits on serverless functions

---

<div class="post-metadata">

**Author:** ![JenWeiss](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jenweiss/32/93582_2.png) [@JenWeiss](https://community.hubspot.com/u/JenWeiss)\
**Post date:** [February 18, 2022, 6:56pm UTC](https://community.hubspot.com/t/serveless/51760/2 "2022-02-18T18:56:51Z")

</div>

Hi [@APáez](https://community.hubspot.com/t5/user/viewprofilepage/user-id/333551) ,

Thank you for reaching out to us!

At this time there is no way to increase the limit on a serverless function in HubSpot. Currently, HubSpot serverless functions are limited to:

- 50 secrets per account.
- 128MB of memory.
- no more than 100 endpoints per HubSpot account.
- the contentType `application/json` when calling a function.
- 6MB per invocation payload, which you might encounter when trying to upload a file with a serverless function, for example.

**Execution limits**

- Each function has a maximum of 10 seconds of execution time
- Each account is limited to 600 total execution seconds per minute.

This means either of these scenarios can happen within 1 minute:

- Up to 60 function executions that take 10 seconds each to complete.
- Up to 6,000 function executions that take 100 milliseconds to complete.

Functions that exceed those limits will throw an error. Execution count and time limits will return a `429` response. The execution time of each function is included in the [serverless function logs](https://developers.hubspot.com/docs/cms/data/serverless-functions#viewing-serverless-function-logs).

To view more information you can refer to the Developer documentation on [Serverless Functions.](https://developers.hubspot.com/docs/cms/data/serverless-functions#:~:text=Accessing%20serverless%20functions,json%20configuration%20file.)

Best,

@JenWeiss
