Comments (3)
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 --httplib2debuglevel=4
) so the full requests and responses are logged, and then contact G Suite support with the log so it can be investigated. You can also post it here but I assume you wouldn't want to post private emails on GitHub. :)
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.
from import-mailbox-to-gmail.
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.
from import-mailbox-to-gmail.
Closing as there was no response.
from import-mailbox-to-gmail.
Related Issues (20)
- Syntax error line 5 HOT 2
- Access Token / Credentials Issue HOT 10
- Problem on Mac HOT 19
- Label Creation & Skipping Issue HOT 3
- Import Failed Messages? HOT 5
- import-mailbox-to-gmail.py: error: argument --dir is required HOT 12
- Attachments HOT 11
- Duplicate labels created when importing nested mboxes HOT 6
- oauth2client deprecated HOT 3
- os.walk error HOT 3
- No emails get imported HOT 4
- service = discovery.build error
- Add Dockerfile or instructions HOT 2
- Instructions are out of date or n/a HOT 1
- Issue when execute the commands HOT 1
- C
- Package 'rsa' requires a different Python: 2.7.18 not in '>=3.5, <4'
- How to show original sent date HOT 4
- Imports Duplicate Messages HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from import-mailbox-to-gmail.