Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

request entity too large #2097

Open
1 task done
TommasoBilotta opened this issue Nov 10, 2024 · 6 comments
Open
1 task done

request entity too large #2097

TommasoBilotta opened this issue Nov 10, 2024 · 6 comments
Assignees
Labels
bug Something isn't working needs triage Issues that need to be triaged v4 Issues related to the latest version

Comments

@TommasoBilotta
Copy link

Is there an existing issue for this?

  • Yes, I have searched the existing issues and none of them match my problem.

Product Variant

Self-Hosted

Current Behavior

Hi, I'm trying to import my cv from json and I get this error:

[Nest] 88 - 11/09/2024, 1:24:34 PM ERROR [ExceptionsHandler] request entity too large
PayloadTooLargeError: request entity too large
at readStream (/app/node_modules/.pnpm/[email protected]/node_modules/raw-body/index.js:163:17)
at getRawBody (/app/node_modules/.pnpm/[email protected]/node_modules/raw-body/index.js:116:12)
at read (/app/node_modules/.pnpm/[email protected]/node_modules/body-parser/lib/read.js:79:3)
at jsonParser (/app/node_modules/.pnpm/[email protected]/node_modules/body-parser/lib/types/json.js:138:5)
at Layer.handle [as handle_request] (/app/node_modules/.pnpm/[email protected]/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/app/node_modules/.pnpm/[email protected]/node_modules/express/lib/router/index.js:328:13)
at /app/node_modules/.pnpm/[email protected]/node_modules/express/lib/router/index.js:286:9
at Function.process_params (/app/node_modules/.pnpm/[email protected]/node_modules/express/lib/router/index.js:346:12)
at next (/app/node_modules/.pnpm/[email protected]/node_modules/express/lib/router/index.js:280:10)
at internalNext (/app/node_modules/.pnpm/[email protected]/node_modules/helmet/index.cjs:521:6)

Thank you in advance.
Tommaso

Expected Behavior

I expected the json to be loaded.

Steps To Reproduce

No response

What browsers are you seeing the problem on?

No response

What template are you using?

None

Anything else?

I have a working version: https://resume.linuxguru.it/tommaso.bilotta/cv

with the latest version of the CV it doesn't work.

@TommasoBilotta TommasoBilotta added bug Something isn't working needs triage Issues that need to be triaged v4 Issues related to the latest version labels Nov 10, 2024
@ishwarthecodddr
Copy link

why is every issue assign to @AmruthPillai

@abhiya492
Copy link

When you encounter the error "PayloadTooLargeError: request entity too large," it usually means the JSON file you're trying to import is larger than the server's default limit for request size. To resolve this, you can increase the payload limit in your server's configuration. This adjustment should help you avoid the error.

@TommasoBilotta
Copy link
Author

TommasoBilotta commented Nov 11, 2024 via email

@TommasoBilotta
Copy link
Author

TommasoBilotta commented Nov 14, 2024 via email

@TommasoBilotta
Copy link
Author

TommasoBilotta commented Nov 14, 2024 via email

@TommasoBilotta
Copy link
Author

TommasoBilotta commented Dec 3, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage Issues that need to be triaged v4 Issues related to the latest version
Projects
None yet
Development

No branches or pull requests

4 participants