GAM-team / got-your-back

Got Your Back (GYB) is a command line tool for backing up your Gmail messages to your computer using Gmail's API over HTTPS.
https://github.com/GAM-team/got-your-back/wiki
Apache License 2.0
2.62k stars 207 forks source link

ERROR 400: Invalid label name - invalidArgument #429

Open ThijsHeerkes opened 1 year ago

ThijsHeerkes commented 1 year ago

Full steps to reproduce the issue:

  1. Google Takeout for mailbox file from old mail
  2. use GYB to restore MBOX file to new mailbox

command used: gyb --email fietsenwarenhuisvanderveen@gmail.com --action restore-mbox --local-folder "C:\Users\Halfords\Desktop\googlebackup"

Expected outcome: mailbox with folders and labels in new mailbox

Actual outcome (what errors or bad behavior do you see instead? the error: Restoring from 11.44gb file C:\Users\Halfords\Desktop\googlebackup\backup.mbox... Creating label Gearchiveerd 400: Invalid label name - invalidArgument