Subject: Re: ERROR: Can't login to mega.nz: API call 'us' failed: Server returned error ENOENT
From: Ondřej Jirman
Date: Thu, 2 Mar 2023 13:00:23 +0100
On Thu, Mar 02, 2023 at 10:46:08AM -0100, Boris Servo wrote:
> Good morning Ondřej,
> 
> User and password are correct no issues found there.

There may be some command line argument escaping necessary, otherwise
I don't know.

kind regards,
	o.

> On Thu, 2 Mar 2023 at 10:19, Ondřej Jirman <megatools@megous.com> wrote:
> 
> > On Wed, Mar 01, 2023 at 12:01:52PM -0100, Boris Servo wrote:
> > > Good morning,
> > >
> > > I 'm trying to login to Mega by using the following command.
> > > $ megadf --username bgvservo@gmail.com --password **********
> > > ERROR: Can't login to mega.nz: API call 'us' failed: Server returned
> > error
> > > ENOENT
> > >
> > > Also created the file $ vim  ~/.megarc
> > > and the lines.
> > > [Login]
> > > Username = bgvservo@gmail.com
> > > Password =  *********
> > >
> > > any ideas of what I'm doing wrong?
> >
> > The only idea is "wrong username or password". ENOENT is mega's error for
> > non-existent user, I guess. (There's no API documentation)
> >
> > regards,
> >         o.
> >
> > > --
> > > Com os melhores cumprimentos / Kindest regards,
> > > Bóris Servo
> >
> -- 
> Com os melhores cumprimentos / Kindest regards,
> Bóris Servo