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

TitlePATCH https://stackblitz.com/api/projects/... 413 (Payload Too Large) Error: #3210

Open
younisalbadawi opened this issue Dec 15, 2024 · 0 comments

Comments

@younisalbadawi
Copy link

Description of Bug

PATCH https://stackblitz.com/api/projects/... 413 (Payload Too Large) Error:

Cause: The server is rejecting the request because the payload (data body) is too large.
Fix:
    Reduce the size of the data you are sending in the PATCH request.
    If you’re uploading files or large data, consider chunking, compressing, or otherwise optimizing your request.
    Check StackBlitz’s limitations on project size or API payloads.

Explanation: A 413 (Payload Too Large) error typically occurs when the request payload (in this case, data sent in a PATCH request to StackBlitz’s API) exceeds the server's maximum allowed size. This may happen if you’re trying to update your project with very large files or a large amount of data at once.

Steps to Reproduce

Once modify any file and try to save changes I get the error.
Also when I use bolt.new to modify or create new code or files I get the same error.

Expected Behavior

To save the files normally.

Screenshots/Screencast

Issue

Additional Context/Questions
What is the maximum project size allowed? and what is the size allowed per file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant