DEVSLIM

Results 13 comments of DEVSLIM

I have the same problem. From what I understand, the file goes up very fast through the server,

"I'm facing the same issue. It happens when the multipart/form-data field contains an expected object with a different name. If I set it as 'file' and send it as 'item,'...

To fix the problem, I had to change upload.array to upload.any and do the validations internally 1.) The upload must be a multer.array('name', X). X can be any number 2.)...

I was making an image upload API for AWS S3 that accepts an array of fields of type 'multipart/form-data'. However, in my request I expect the field to be file,...

Example ![Captura de tela 2024-04-18 195529](https://github.com/expressjs/multer/assets/46495367/571d15fd-040f-4abb-b5e6-3336e2cbae3d) Expectative: file User: User change to files, error 500 looping

Inside my try cath there is my upload logic. ``` app.post('/upload-files', upload.array('file', 6), handleMulterError, async (req: Request, res: Response, next: NextFunction) => { try { ..... } catch (error) {...

> Also reporting the same issue with 2.5.7. Uninstalled and installed https://github.com/microsoft/WSL/releases/download/2.4.13/wsl.2.4.13.0.x64.msi which is now working fine. I updated everything today, both WSL and Docker and I have the same...

Today the model showed up, but it gives this error. Bad Request: {"detail":"Invalid request: Invalid request: {\"detail\":{\"object\":\"error\",\"message\":\"Only user, assistant and tool roles are supported, got system.\",\"type\":\"400\",\"param\":null,\"code\":400}}"}

While Code Claude does not have a native alternative, I created a CLI in GO that edits files respecting the file format, and I made this instruction from CLAUDE.md