This is error which am getting while post data and file. I have followed \'academind\' tutorial for building Restful API services, also i have been searching answer for this
So the answer is in the tutorials comments section on youtube. Instead of:
cb(null, new Date().toISOString() + file.originalname);
do:
cb(null, Date.now() + file.originalname);
Simple as.