GYB is terminating with "400: Invalid label name - invalidArgument" (returns to lớn the comm& line) about 26% of the way through a restore. I"ve sầu restarted it but it continues to lớn fail & stop at the same place.

Bạn đang xem: Got

This is my commvà line (version 1.50):

tin nhắ --action restore-mbox --local-thư mục "/Users/damian/Downloads/gyb" --debug > label-failure-output.txt

reading message 69381... - 26.84%Creating label Mutedsend: b"POST /gmail/v1/users/me/labels?fields=id&prettyPrint=true&alt=json HTTP/1.1 Host: accept: application/json accept-encoding: gzip, deflate user-agent: Got Your Back 1.50 | | Jay Lee - jay0lee
tin nhắ | Pythanh mảnh 3.9.4 64-bit final | google-api-client 2.2.0 | macOS-10.16-x86_64-i386-64bit x86_64 (gzip) x-goog-api-client: gdcl/2.2.0 gl-python/3.9.4 content-type: application/json content-length: 86 authorization: Bearer xxx"send: b""labelListVisibility": "labelShow", "messageListVisibility": "show", "name": "Muted""reply: "HTTP/1.1 400 Bad Request "header: Vary: Originheader: Vary: X-Originheader: Vary: Refererheader: Content-Type: application/json; charset=UTF-8header: Content-Encoding: gzipheader: Date: Sun, 15 Aug 2021 06:10:21 GMTheader: Server: ESFheader: Cache-Control: privateheader: X-XSS-Protection: 0header: X-Frame-Options: SAMEORIGINheader: X-Content-Type-Options: nosniffheader: Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"header: Transfer-Encoding: chunked
Is there anything I can do? Should I try khổng lồ edit the mbox tệp tin to remove the "muted" label, assuming this is what is causing the issue. FWIW it would be good if GYB didn"t attempt khổng lồ re-recreate "known" GMAIL labels, specifically all the category ones.




Updated 2 months ago
Duplicates in Restored Google Hangouts Messages
Hey, I would just lượt thích khổng lồ say that this tool is a real lifesaver for me & it"s working well aside from one annoying little snag. I am getting duplicates.

Xem thêm:

I am using version 1.50 as confirmed by gyb --version

Full steps khổng lồ reproduce the issue:

Export tin nhắn data using google takeout with the "Include all messages" option, which includes Hangouts chats.Unzip the file lớn get the mbox.Restore the mbox file to lớn a different email account using these arguments:gyb --gmail --action restore-mbox --local-thư mục --label-restored

Expected outcome:I am expecting it to add the messages contained in the mbox file lớn my other email account.

Actual outcome:It keeps giving me the "backing off for 60 seconds" message and taking a long time, but I vì chưng see the emails coming into my email. However, I noticed that I was getting a lot of messages under the Chats_restored tag, and I realized that I was getting duplicates. I see 6-7 copies of messages. Some of them have sầu timestamps that are less than a minute apart.

Xem thêm: Using Your Gmail/Google Account As An Openid Connect Single Sign

My hypothesis is that the comm& sends a batch of 15 and mistakenly believes that it failed và does it again after waiting for a few seconds, thus producing duplicates. It"s a manageable inconvenience, but I thought that I should hotline attention lớn this issue.

Chuyên mục: Mail