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
Lots of 400 errors with no further details #29
Comments
Hi Dave, First, sorry to hear your experience wasn't smooth. I'm aware that there are issues with the data migration tool in the Admin console, particularly around reporting errors - they aren't always very helpful. The good news is that as a G Suite customer you can contact support (via the 'Support' icon in the Admin console) and get help with this. :) Regarding the API error - my first guess would be a malformed message, but it's also possible it's an issue with the tool's parsing (it uses the Python mailbox library), or the API returning a vague error message (e.g. "Bad Request" instead of saying what's bad about it). If you can, please create a text mbox file with just one of the affected messages and try to import it. If it succeeds, then this was probably some issue with the request rate. In this case, it's an issue with the API returning the wrong response, because the response should be a status 5xx/429 or a 403 with userRateLimitExceeded/rateLimitExceeded. If it fails with the same error, and you don't see anything clearly wrong with the message in the mbox, I'd suggest you raise the HTTP logging level to 4 (add BTW, if you need to re-import some of the data, currently the script would just blindly re-import all of it, but Gmail will de-dupe the data, so although this would still take a lot of time, at least you wouldn't get duplicate messages. I hope this helps - let me know in any case, so I can follow up internally. |
Side note: If you want, you can also give got-your-back import a try, although it would probably be affected by API issues the same way. |
Closing as there was no response. |
I just imported about 15 years of mail history using this script, except I only imported about half of it because I got so many 400 errors. Here's an example:
This doesn't really tell me anything useful.
Was this a transient error? Should I retry my entire import? Is something broken in the mbox file? What's going on.
Overall the google importing experience has been disappointing. I wrote a bit about this at https://blog.urth.org/2017/07/04/going-full-gmail/ if you're interested in some of the other problems I had.
The text was updated successfully, but these errors were encountered: