---
page_type: error
code: 82008
message: "82008: Headers or cookies too large"
level: ERROR
product: Functions
---

## Description

This error is thrown when request or response headers are greater than the enforced limits.

### Possible Causes

1. The user has passed request/response headers larger than 4kb.
2. Request/response has more than 75 headers+cookies.

### Possible Solutions

1. Pass cookies and headers less than 4kb. Set cookies less than 4kb in the response.
2. Send less than 75 headers. Set less than 75 headers/cookies in the response.