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

400: Invalid label name - invalidArgument for multiple labels #442

Open StefanoPierini opened 10 months ago

StefanoPierini commented 10 months ago

Hi, when I try to recover I have this error.

Creating label Da leggere                                                       
400: Invalid label name - invalidArgument

I tried

--extra-reserved-labels "da leggere"

But now I get

leggereg label Da                                                               
400: Invalid label name - invalidArgument

How cat I solve? Can I pass multiple reserved labels?

MagnumChaos17 commented 8 months ago

Same issue here, restoring from Takeout mbox file.

Creating label Enviado
400: Invalid label name - invalidArgument

The workaround seems to use the --strip-labels and --label-restored gyb-restored options and loose source labels...