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

Message restore skips a lot of messages due to "Invalid label" #452

Open
wout-peeters-gs opened this issue Feb 16, 2024 · 2 comments
Open

Comments

@wout-peeters-gs
Copy link

Full steps to reproduce the issue:

  1. Backup a bunch of emails from a Gmail account
  2. Restore said messages to other Gmail account

Expected outcome (what are you trying to do?): Messages restored

Actual outcome (what errors or bad behavior do you see instead?):
A large amount of errors like so:

ERROR: 400: Invalid label: IMPORTANT. Skipping message restore.
ERROR: 400: Invalid label: IMPORTANT. Skipping message restore.
ERROR: 400: Invalid label: SENT. Skipping message restore.
ERROR: 400: Invalid label: SENT. Skipping message restore.
ERROR: 400: Invalid label: IMPORTANT. Skipping message restore.

only a small number of messages is actually restored.

@wout-peeters-gs
Copy link
Author

Seems that adding a prefix label with --label-prefix RESTORE worked around these errors.

@mtiraferri
Copy link

Same message, restoring mbox but stops the process.

Restoring from 22.69gb file c:\tmp\tb\recupero.mbox...
Creating label Da leggere
400: Invalid label name - invalidArgume

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