Hello, I have this problem:
When I upload an image, in the controller I do
obj.attach('image', req,body.file, function(err){
if(err)
{ console.log("Error "+error)}
else
{console.log("No error")});
And in the console it says attachmentInfo is not valid.
I have copy-pasted the codes from your github readme, and my credentials are correct too. So I'm wondering why this is happening.