Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

156
Vistas
Gatsby Functions: PayloadTooLargeError: request entity too large

I'm building an app with Gatsby and I'm using Gatsby Functions to obfuscate form submissions to a remote API. In this form, the user attaches a file, which can make the request exceed the default size limit of 100KB. There are other answers on StackOverflow which address this question in a node/express environment, however I cannot find how to change the limit using Gatsby.

For example, this is how to increase the limit in express:

app.use(express.json({limit: '50mb'}));
app.use(express.urlencoded({limit: '50mb'}));

How does that translate to Gatsby?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

As of now, there is no way to solve this currently within Gatsby's local development environment. It uses the express.js default request size limit and there is no way to change it. However, this limit can be changed in a production environment and there is a request in to make this limit editable.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda