Failed to initialize region error while creating Google cloud features

I am trying to deploy cloud functions in a production environment after testing in a test environment. Everything in the test environment worked fine. But in the prod environment, when I create a cloud function, the following error appears.

Failed to initialize scope

The full stack log is here:

{
 protoPayload: {
  @type: "type.googleapis.com/google.cloud.audit.AuditLog"    
  status: {
   code: 13     
   message: "Failed to initialize a region"     
  }
  serviceName: "cloudfunctions.googleapis.com"    
  methodName: "google.cloud.functions.v1beta2.CloudFunctionsService.CreateFunction"    
  resourceName: "projects/**********/locations/us-central1/functions/load-to-bigquery"    
 }
 insertId: "54F77BC951659.A03E406.770C4DE6"   
 resource: {
  type: "cloud_function"
  labels: {
   project_id: "**********"     
   region: "us-central1"     
   function_name: "load-to-bigquery"     
  }
 }
 timestamp: "2017-05-14T08:29:27.142Z"   
 severity: "ERROR"   
 logName: "projects/********/logs/cloudaudit.googleapis.com%2Factivity"   
 operation: {
  id: "operations/dWRjb2xsZWN0L3VzLWNlbnRyYWwxL3VkYy10by1icS9NaXRlVlI2MW1xbw"    
  producer: "cloudfunctions.googleapis.com"    
  last: true    
 }
 receiveTimestamp: "2017-05-14T08:29:28.495542553Z"   
}

I wanted to know what could be causing the error? Both environments are very similar, and I have the same resolution (project editor) in both environments.

+6
source share
1 answer

, API- Google Cloud Platform, Alpha - . - , API , .

API, , .

-1

Source: https://habr.com/ru/post/1017243/


All Articles