---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/api/errors/81010#article
headline: "81010: There was an internal error while processing a Function"
url: https://www.twilio.com/docs/api/errors/81010
inLanguage: en
dateModified: 2026-03-11T22:03:37.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# 81010: There was an internal error while processing a Function

Log Level: ERROR

## Description

Studio could not invoke the Function service.

### Possible causes

* The Function returned a 4xx or 5xx status code
* The Function timed out or did not include `callback()`
* There may be an issue with Twilio Function Service

### Possible solutions

* Verify your Function calls `callback()` to avoid timeouts
* Check your Function logs for runtime errors
* Ensure you're returning the correct status code
