Skip to main content

Knowledge Base

This is a list of the known issues or limitations and their solutions about the Ash Console.

Issues and limitations

Unable to add a new cloud region

  • Invalid or expired credential

    Error message
    Error adding cloud region to the project: error in response: 400 Bad Request: 
    {
    "type": "about:blank",
    "title": "Bad Request",
    "detail": "GenericJujuError: failed to create environ: Get \"https://compute.googleapis.com/compute/v1/projects/GCP-PROJECT?alt=json&prettyPrint=false\": oauth2: cannot fetch token: 400 Bad Request\nResponse: {\"error\":\"invalid_grant\",\"error_description\":\"Invalid grant: account not found\"}",
    "status": 400
    }
    • Resolution:

      In that case you need to renew your GCP credentials and then update it in Ash Console.

      Command
      ash console secret update 6c7f3c7a-7e15-4359-b7cf-3eaacb1938c2 '{name: my-secret-updated, project_id: "****", client_email: "****", client_id: "****", privateKey: "****"}'
  • Insufficient access right

    • If a resource is created right after the region, the Ash CLI will raise the following error:

      Error message
      Error adding cloud region to the project: error in response: 400 Bad Request: 
      {
      "type": "about:blank",
      "title": "Bad Request",
      "detail": "GenericJujuError: failed to create environ: googleapi: Error 403: Required 'compute.projects.get' permission for 'projects/GCP-PROJECT', forbidden",
      "status": 400
      }
    • Resolution:

      In that case you need to change GCP credentials access right.

Cloud region already exists

Error message
Error adding cloud region to the project: error in response: 400 Bad Request:
{
"type": "about:blank",
"title": "Bad Request",
"detail": "CloudRegionAlreadyInProjectError: CloudRegion 'aws/us-east-2' already exists in project '6d6fead3-7fb1-4454-ba26-ca74b3a25004'",
"status": 400
}
  • Resolution:

    In that case you need to run the following command to refresh the region internally:

    Command
    ash console region list