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

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

Open
1 task done
younisalbadawi opened this issue Dec 16, 2024 · 0 comments
Open
1 task done

Comments

@younisalbadawi
Copy link

Describe the 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.

Link to the blitz that caused the error

https://stackblitz.com/edit/secret-python-75dtr3dc

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.

Parity with Local

Screenshots

Screenshots/Screencast

Issue

Platform

  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • Version: [e.g. 91.1]

Additional context

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant