Pessoal, bom dia.
Quando tento submeter o formulário, o console me informa do erro "POST http://localhost:3000/photos/upload 500 (Internal Server Error)". Fui consultar em Network e depois Headers e me aparece dois "upload" na coluna Name: Um upload com sucesso e outro com erro no servidor. Esse erro é da API?
General
Request URL: http://localhost:3000/photos/upload
Request Method: OPTIONS
Status Code: 204 No Content
Remote Address: [::1]:3000
Referrer Policy: no-referrer-when-downgrade
General
Request URL: http://localhost:3000/photos/upload
Request Method: POST
Status Code: 500 Internal Server Error
Remote Address: [::1]:3000
Referrer Policy: no-referrer-when-downgrade