Skip to content

Uploading files with multipart/form-data fails #42

Closed
@tseppl

Description

@tseppl

When sending a POST request with Postman using multipart/form-data and attaching a file to the request it results in InvalidCharacterError originating from base-64 which is a dependency of netlify-lambda used to decode event.body when creating handler.

Works in prod environment.

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