Illegal base64 data at input byte 22

What is the problem you are having with rclone?

One of my Mega accounts fails with

2020/12/08 15:06:49 Failed to create file system for "mega1:": couldn't login: illegal base64 data at input byte 22

The same error occurred in this one https://forum.rclone.org/t/problem-to-login-with-mega/12276

What is your rclone version (output from rclone version)

rclone v1.51.0
- os/arch: linux/amd64
- go version: go1.14rc1

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Fedora Linux 32 64bit

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 mega1:
2020/12/08 15:08:48 Failed to create file system for "mega1:": couldn't login: illegal base64 data at input byte 22

The rclone config contents with secrets removed.

[mega_sha]
type = mega
user = xxx@gmail.com
pass = xxx
hard_delete = true

[mega1]
type = mega
user = xxx@gmail.com
pass = xxx
hard_delete = true

Created with rclone config

A log from the command with the -vv flag

rclone ls mega1: -vv                     

2020/12/08 15:13:05 DEBUG : rclone: Version "v1.51.0" starting with parameters ["rclone" "ls" "mega1:" "-vv"]
2020/12/08 15:13:05 DEBUG : Using config file from "/home/sandra/.config/rclone/rclone.conf"
2020/12/08 15:13:06 Failed to create file system for "mega1:": couldn't login: illegal base64 data at input byte 22

You have an old version of rclone.

Please update and test again.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.