gcharang / discord-archive-komodo

An archive of the Public Discord channels in the Komodo Server
0 stars 2 forks source link

request payload too large #36

Open vigneshren opened 1 week ago

vigneshren commented 1 week ago

hi team , i am getting a error 502 bad gateway with below error message can someone help us to reslove this issue we are using .net lambda api

2024-06-23T16:51:40.478+05:30 [11:21:40 Amazon.Lambda.AspNetCoreServer.AbstractAspNetCoreFunction Debug] Response Base 64 Encoded: True { "RequestId": "Root=1-66780540-606ed846146b5d9b46d04e7c;Parent=1e59c5621254390a;Sampled=0;Lineage=6ea9acca:0", "RequestPath": "/stage/api/DownloadReport/download" }

[11:21:40 Amazon.Lambda.AspNetCoreServer.AbstractAspNetCoreFunction Debug] Response Base 64 Encoded: True {"RequestId": "Root=1-66780540-606ed846146b5d9b46d04e7c;Parent=1e59c5621254390a;Sampled=0;Lineage=6ea9acca:0", "RequestPath": "/stage/api/DownloadReport/download"} 2024-06-23T16:51:42.000+05:30 Unhandled exception. HTTP Response:

Unhandled exception. HTTP Response: 2024-06-23T16:51:42.000+05:30 { "errorMessage": "Exceeded maximum allowed payload size (6291556 bytes).", "errorType": "RequestEntityTooLarge" }

{"errorMessage":"Exceeded maximum allowed payload size (6291556 bytes).","errorType":"RequestEntityTooLarge"} 2024-06-23T16:51:42.000+05:30 Amazon.Lambda.RuntimeSupport.RuntimeApiClientException`1[Amazon.Lambda.RuntimeSupport.ErrorResponse]: Payload Too Large

Amazon.Lambda.RuntimeSupport.RuntimeApiClientException`1[Amazon.Lambda.RuntimeSupport.ErrorResponse]: Payload Too Large 2024-06-23T16:51:42.000+05:30 Status: 413

Status: 413 2024-06-23T16:51:42.000+05:30 Response:

Response: 2024-06-23T16:51:42.000+05:30 { "errorMessage": "Exceeded maximum allowed payload size (6291556 bytes).", "errorType": "RequestEntityTooLarge" }

gcharang commented 1 week ago

hey, this repo is very old and you shouldn't be using it directly. If you need to archive your own discord server, please use tyrrrz/discordchatexporter (https://github.com/gcharang/discord-archive-komodo/blob/master/main.py#L36) to get the archive and use the latest version of vuepress/gatsby/nextjs or any other static site generator to create your site