Skip to content

Discussion - PayloadTooLargeError: request entity too large #40

Closed
@huygn

Description

@huygn

Got this error when testing my function locally by sending a ~160kb POST request. This error doesn't happen when deployed on Netlify functions though.

This is due to express server with it's default limit and could be altered via middlewares. Could we allow express middlewares from netlify-lambda users via netlify-lambda-serve.js or similar mechanism for flexibilities?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions