Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

[Google Storage] Error 403 : We're sorry, but this service is not available in your location

Hello

My server is suddenly facing errors 403 when trying to reach Google Storage.
I can't understand, is it related to the location of my server?

My server is running on Scalingo France

Google\Cloud\Core\Exception\ServiceException: { "error": { "code": 403, "message": "We're sorry, but this service is not available in your location", "errors": [ { "message": "We're sorry, but this service is not available in your location", "domain": "global", "reason": "forbidden" } ] } } in /var/www/woowsent_new/data/www/woowsent.com/assets/libraries/google-lib/vendor/google/cloud-core/src/RequestWrapper.php:368 Stack trace: #0 /var/www/woowsent_new/data/www/woowsent.com/assets/libraries/google-lib/vendor/google/cloud-core/src/RequestWrapper.php(207): Google\Cloud\Core\RequestWrapper->convertToGoogleException() #1 /var/www/woowsent_new/data/www/woowsent.com/assets/libraries/google-lib/vendor/google/cloud-core/src/Upload/MultipartUploader.php(44): Google\Cloud\Core\RequestWrapper->send() #2 /var/www/woowsent_new/data/www/woowsent.com/assets/libraries/google-lib/vendor/google/cloud-storage/src/Bucket.php(295): Google\Cloud\Core\Upload\MultipartUploader->upload() #3 /var/www/woowsent_new/data/www/woowsent.com/xhr/admin_setting.php(5415): Google\Cloud\Storage\Bucket->upload() #4 /var/www/woowsent_new/data/www/woowsent.com/requests.php(141): include('...') #5 {main}

7 1 959
1 REPLY 1

Note: I'm an operator from Scalingo.

Here are some additional information about this issue.

  • This issue seems to only impact one of our IPs (171.33.105.206)
  • The issue does not reproduce all the time (depending on the server answering, we observe error rate ranging from 40% to 90%)
  • It impacts multiple accounts from multiple customer of ours and our own (We are a hosting provider)
  • It impacts multiple different SDKs (Python, NodeJS, GCP, etc)
  • The issue can easily be reproduced with the `gcloud` CLI
  • We also have an internal Customer Care Ticket (#49029103)