Rclone 同步失败:googleapi:错误 403:很抱歉,但您所在的位置无法使用此服务,禁止使用

Rclone 同步失败:googleapi:错误 403:很抱歉,但您所在的位置无法使用此服务,禁止使用

我想使用以下方法将我的文件备份到 Google Drive克隆通过这个命令:

sudo rclone sync  "/media/so/ACAC8B5FAC8B2346/Company Informations/مدارک شرکت GSH/اداری (copy)"  gsh:Company_Informations/office_files  --checkers 3  --log-file /home/so/Desktop/trash/rclone_sync.log -v --transfers 3 

所以我收到这个错误:

Failed to sync: googleapi: Error 403: We're sorry, but this service is not available in your location, forbidden

所以整个日志文件是这样的:

2019/12/30 21:16:04 Failed to create file system for "gsh_email:drive": drive: failed when making oauth client: error opening service account credentials file: open ss: no such file or directory
2019/12/30 21:52:45 ERROR : : error reading destination directory: googleapi: Error 403: We're sorry, but this service is not available in your location, forbidden
2019/12/30 21:52:45 INFO  : GCS bucket Company_Informations path office_files: Waiting for checks to finish
2019/12/30 21:52:45 INFO  : GCS bucket Company_Informations path office_files: Waiting for transfers to finish
2019/12/30 21:52:45 ERROR : GCS bucket Company_Informations path office_files: not deleting files as there were IO errors
2019/12/30 21:52:45 ERROR : GCS bucket Company_Informations path office_files: not deleting directories as there were IO errors
2019/12/30 21:52:45 ERROR : Attempt 1/3 failed with 1 errors and: googleapi: Error 403: We're sorry, but this service is not available in your location, forbidden
2019/12/30 21:52:45 ERROR : : error reading destination directory: googleapi: Error 403: We're sorry, but this service is not available in your location, forbidden
2019/12/30 21:52:45 INFO  : GCS bucket Company_Informations path office_files: Waiting for checks to finish
2019/12/30 21:52:45 INFO  : GCS bucket Company_Informations path office_files: Waiting for transfers to finish
2019/12/30 21:52:45 ERROR : GCS bucket Company_Informations path office_files: not deleting files as there were IO errors
2019/12/30 21:52:45 ERROR : GCS bucket Company_Informations path office_files: not deleting directories as there were IO errors
2019/12/30 21:52:45 ERROR : Attempt 2/3 failed with 1 errors and: googleapi: Error 403: We're sorry, but this service is not available in your location, forbidden
2019/12/30 21:52:46 ERROR : : error reading destination directory: googleapi: Error 403: We're sorry, but this service is not available in your location, forbidden
2019/12/30 21:52:46 INFO  : GCS bucket Company_Informations path office_files: Waiting for checks to finish
2019/12/30 21:52:46 INFO  : GCS bucket Company_Informations path office_files: Waiting for transfers to finish
2019/12/30 21:52:46 ERROR : GCS bucket Company_Informations path office_files: not deleting files as there were IO errors
2019/12/30 21:52:46 ERROR : GCS bucket Company_Informations path office_files: not deleting directories as there were IO errors
2019/12/30 21:52:46 ERROR : Attempt 3/3 failed with 1 errors and: googleapi: Error 403: We're sorry, but this service is not available in your location, forbidden
2019/12/30 21:52:46 Failed to sync: googleapi: Error 403: We're sorry, but this service is not available in your location, forbidden

那么您对解决这个问题有什么建议呢?

答案1

该消息中的 403 表示 Google 不向您的国家或地区提供此服务。

鉴于您的 VPN 问题将您定位在伊朗,这可能是由于您所在国家/地区实施了制裁,而 Google 遵守这些制裁的法律并禁止伊拉克访问此服务。不幸的是,这是 Google 的决定,除了建议您使用 VPN(这可能会也禁止伊拉克连接)之外,我们无法为您提供任何帮助

相关内容