---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/api/errors/82006#article
headline: "82006: Environment Context too large"
url: https://www.twilio.com/docs/api/errors/82006
inLanguage: en
dateModified: 2026-03-11T22:03:37.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# 82006: Environment Context too large

Log Type: APPLICATION

Log Level: ERROR

## Description

Context of the function has exceeded maximum limit. Reduce the context size and try again.

### Possible causes

Context size consists of account metadata, domain name, path and Environment variables stored as a JSON string. If this string exceeds 3KB, invocations may fail.

### Possible solutions

Try reducing number of Environment Variables or size of the Environment Variables stored.
