[⊙_⊙] CLERK ASSAY LEDGER v0.15.1·305 PROVIDERS (FROZEN)·206 JTBDs·EDITORIAL PRIOR (±0.5)
[⊙_⊙]
Agent Provider Depot
Signalry · Independent Agent Prior

Agent Provider Depot / Error Rescue Index (28 Traps) / vercel-4-5mb-payload

platform_limittrapId: trap-vercel-4-5mb-payload · asOf: 2026-10-28

Vercel 4.5MB Serverless Function Payload Limit (HTTP 413)

Vercel serverless functions reject HTTP request/response bodies > 4.5 MB.

1. Immediate Code & SKU Fix
Replace With SKU: r2 presigned direct upload (@aws-sdk/s3-request-presigner)
Install Command: npm install @aws-sdk/client-s3 @aws-sdk/s3-request-presigner
Required Env Vars: CF_ACCOUNT_ID, R2_ACCESS_KEY_ID, R2_SECRET_ACCESS_KEY
// Generate an R2 presigned PUT URL and upload large files directly to Cloudflare R2 ($0 egress); pass only the object key to your API route.
2. Verified Hot-Swap Fallback Route
Primary: r2 → Fallback: s3
liveHealth: operational · autoActOk: false

Deep AWS estate / S3-only features — S3

Matched Error String Signatures (5)
vercel 4.5mb payload limit4.5mbfunction_payload_too_large413request entity too large
curl -s "https://getagentdepot.com/api/rescue?q=vercel%204.5mb%20payload%20limit"

Browse All 28 Agent Runtime Rescue Cards