CodeGenieApp / CodeGenieApp/serverless-express

Failing works with files

Abierto
#672 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
5.3k
Forks
676
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Hi, I'm using this library and I got stuck.
I have an API that receives payloads with images.
so I sent the image using Postman when running the express locally work fine and the image was not corrupted.
but when I'm using the AWS cloud, sending the same request from the postman the PNG images flips bytes, and this corrupts the image when I'm saving it into the s3 bucket.
I did everything that needed to be configured in the AWS platform i think it happened because of this lib.
the png buffer data start with: ```

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

El issue no nombra archivos del repositorio ni pruebas y solo proporciona ejemplos de buffers locales y de CloudWatch, además de capturas de pantalla de la implementación. Empieza reproduciendo localmente y en AWS la carga de un PNG con Postman y, después, rastrea dónde se convierte el cuerpo de la solicitud antes de almacenarlo en S3. Se considera terminado cuando los mismos bytes binarios llegan al almacenamiento en ambos entornos.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
aws, express, javascript
Área
api, backend, cloud
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.