Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

400: Invalid label name - invalidArgument #350

Closed
mansj opened this issue Jan 28, 2022 · 2 comments
Closed

400: Invalid label name - invalidArgument #350

mansj opened this issue Jan 28, 2022 · 2 comments

Comments

@mansj
Copy link

mansj commented Jan 28, 2022

I am running this command, on a 24GB large backup from G Suite:

bin/gyb/gyb --email myaddress@gmail.com --action restore-mbox --local-folder ~/Desktop/

After 24 hours and 30.6% I get this message:

Creating label Muted
400: Invalid label name - invalidArgument

And the program crashes/finishes so I can't continue.

Any advice?

@jay0lee
Copy link
Member

jay0lee commented Jan 28, 2022

Muted is a reserved label name that you can't restore or use with Gmail API. Try adding:

--extra-reserved-labels muted

to your command to tell GYB not to try and create/use the label. I've added this for the next version also.

@mansj
Copy link
Author

mansj commented Jan 28, 2022

Wow, thank you for the quick response, and it did indeed work to add the reserved label. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants