Skip to content

Body exceeded 1mb limit error in NextJS #2590

Answered by andrenagusch
andrenagusch asked this question in Q&A
Discussion options

You must be logged in to vote

I'm using

export const config = {
  api: {
      bodyParser: {
          sizeLimit: '100mb',
      },
      responseLimit: '100mb',
  }
}

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@lobotomoe
Comment options

@lobotomoe
Comment options

Answer selected by KATT
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #2589 on August 29, 2022 14:01.