WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

AttachmentInfo is not valid #53

@Victorgf87

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.

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