Skip to content

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

@younisalbadawi

Description

@younisalbadawi

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions