Vercel Lambda 405/413 error (large payload)

I have a api route which can potentially return a large amount of data back depending on who calls it, this occasionally leads to a 413/405 error: [ERROR] [1688280447665] LAMBDA_RUNTIME Failed to post handler success response. Http response code: 413. My route currently has
export const config = {
api: {
responseLimit: '8mb',
},
}
export const config = {
api: {
responseLimit: '8mb',
},
}
But I am unsure that is really doing anything to help/adverse the situation.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server