err:user:bad_request:request_body_too_large
Example
What Happened?
Your request was too big! We limit how much data you can send in a single API request to keep everything running smoothly. This usually happens when you’re trying to send a lot of data at once - like huge metadata objects or really long strings in your request.How to Fix It
1. Trim Down Your Request
The most common cause is putting too much data in themeta
field or other parts of your request.
2. Store Big Data Elsewhere
Instead of cramming everything into your API request:- Store large data in your own database
- Only send IDs or references to Unkey
- Fetch the full data when you need it
Need a Higher Limit?
Got a special use case? If you have a legitimate need to send larger requests, we’d love to hear about it!Contact our support team and include:
- What you’re building
- Why you need to send large requests
- An example of the data you’re trying to send