When I try to connect with mega, I get the following error:
Failed to create file system for "mega2:/:" couldn't login: illegal base64 data at input byte 22
What is your rclone version (output from rclone version)
`rclone version
rclone v1.49.5
- os/arch: linux/amd64
- go version: go1.12.10`
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Linux Debian 10 64 bits
Which cloud storage system are you using? (eg Google Drive)
Mega
The command you were trying to run (eg rclone copy /tmp remote:tmp)
rclone ls mega2:/
A log from the command with the -vv flag (eg output from rclone -vv copy /tmp remote:tmp)
rclone ls mega2:/ -vv
2019/10/12 16:05:29 DEBUG : rclone: Version "v1.49.5" starting with parameters ["rclone" "ls" "mega2:/" "-vv"]
2019/10/12 16:05:29 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2019/10/12 16:05:30 Failed to create file system for "mega2:/": couldn't login: illegal base64 data at input byte 22
The username is the email that has a period between the names: pledin.jds@gmail.com
to my (newbie compared to NCW) understanding the error might indicate some sort of invalid or unexpected character in what it tries to log in with.
Could you perhaps post the relevant section from your rclone.conf file?
of course, obscure any passwords and such, but try to keep them in exactly the same format as much as you can.
rather than just removing them, replace some random characters with another equivalent ones so we can get a sense of if the syntax is wrong somehow - without you compromising the secure info.
Did you create this remote in a different way than you did the working one? Did you at some point copypaste any info into the config directly rather than using the rclone config tool?
It's not impossible, but it's not the first thing I would suspect because a . in an email is perfectly valid and it would have been a grave oversight if the mega API rejected it based on that... and presumably the coders weren't complete amateurs.
The mega2 service was created with the rclone config statement, exactly the same as the one that works.
cat .config/rclone/rclone.conf
[mega1]
type = mega
user = xxxxxxxxxx@gmail.com
pass = PKLCpzvNuvGelXALgK_1d4mazQwbxJOkbIlDXAo
[mega2]
type = mega
user = xxxxxx.xx@gmail.com
pass = BNO6HeDM7OaCDRZ4eu889WmK9vPFDKzvaOHmgls
Don't see anything wrong here.
I don't really have much else to add to this problem then. Best follow NCW's sintructions and see if those logs reveal anything.
Hello, I was wondering if anyone had found a solution to this issue, as it is identical to the one that I find myself having. I am on Linux Mint 18.3, rclone version 1.50.2, go version 1.13.4
Here is my command: rclone ls mega:Books
and my output: 2020/01/09 12:56:28 Failed to create file system for "mega:Books": couldn't login: illegal base64 data at input byte 22