I'm a facing a problem trying to upload pictures using the API
I'm working with NodeJS and using the mercadolibre package for Node (https://www.npmjs.com/package/mercadolibre) in order to upload the images, but the server always response with this message
message: 'The file type is not supported: file. Valid file types are [jpg, jpeg, png, gif, webp].',
I'm sure the images are being sent, because I've checked the implementation of the library and it uses the Needle package to make HTTP requests (POST with multipart as true to be more accurate), so I writte a little code (the same that is inside the implementation of upload method in the mercadolibre package for Node) but sending the content to a VPS of mine and I receive the image there with no problem
So... what could it be? Any help will be appreciated! Ask anything else that you think I should inform!