GYB - Can't migrate emails into Workspace Groups

59 views
Skip to first unread message

David Systems

unread,
Feb 3, 2025, 11:48:08 AMFeb 3
to Got Your Back: Gmail Backup
Team,

This was working flawless until about a week ago. 

Command: 
gyb --action restore-group --email group...@mydomainc.com --service-account --use-admin myadm...@mydomainc.com --local-folder
“D:\GYBWorking\Gmail\user...@mydomain.com_Gmail_Backup"


Error:
C:\Users\Administrator>gyb --action restore-group --email us...@mydomain.com --service-account --use-admin adm...@mydomain.com --local-folder "D:\GYBWorking\username_Gmail_Backup"
Traceback (most recent call last):
  File "gyb.py", line 2897, in <module>
  File "gyb.py", line 2125, in main
  File "gyb.py", line 746, in buildGAPIServiceObject
  File "gyb.py", line 1420, in getSvcAcctCredentials
  File "google\oauth2\service_account.py", line 446, in refresh
  File "google\oauth2\_client.py", line 298, in jwt_grant
  File "google\oauth2\_client.py", line 269, in _token_endpoint_request
  File "google\oauth2\_client.py", line 68, in _handle_error_response
google.auth.exceptions.RefreshError: ('unauthorized_client: Client is unauthorized to retrieve access tokens using this method, or client not authorized for any of the scopes requested.', {'error': 'unauthorized_client', 'error_description': 'Client is unauthorized to retrieve access tokens using this method, or client not authorized for any of the scopes requested.'})
[1256] Failed to execute script 'gyb' due to unhandled exception!


Any suggestions or indications on this are greatly appreciated.


Regards,

Dave

Rodrigo de Paiva Rocha

unread,
Feb 5, 2025, 9:57:40 AMFeb 5
to Got Your Back: Gmail Backup
Estou passando pelo mesmo problema, quero migrar e-mails para conta de grupo porém não executa , conseguiu alguma solução?
Reply all
Reply to author
Forward
0 new messages