Relative Content

Tag Archive for node.jsaxios

Empty File error when Uploading via Axios

I’m trying to upload a file to an endpoint with Axios but I keep getting a 400 error ‘Uploaded file is empty’.
The file is not empty at all – it is around 90MB.
When I upload to the same endpoint with Postman it all works flawlessly. Indeed it used to work flawlessly via the code but for some reason it has started to fail.