Serveless

is there a way to increase the limits on serverless functions

Hi @APáez ,

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.

To view more information you can refer to the Developer documentation on Serverless Functions.

Best,

@JenWeiss