Skip to content

AttachmentInfo is not valid #53

Description

@Victorgf87

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions