Skip to content

Serverless callback not received after sending large file for transcription #174

Closed Answered by jaxomlotus
jaxomlotus asked this question in General help
Discussion options

You must be logged in to vote

OK, so i made some changes to my config and im seeing larger files now make it through. So I guess this was on my end after all.

For anyone else who is using Next.js (outside of a serverless setup) and encounters this, add this to your endpoint (adjust the size limit appropriately)

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

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
3 replies
@jaxomlotus
Comment options

@jaxomlotus
Comment options

@lukeocodes
Comment options

Comment options

You must be logged in to vote
5 replies
@lukeocodes
Comment options

@jaxomlotus
Comment options

@lukeocodes
Comment options

@jaxomlotus
Comment options

Answer selected by jaxomlotus
@lukeocodes
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants