gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

Error when asking CLI to "list the tag name for previous checkpoints"

Open ryanjsalva opened this issue 1 year ago • 2 comments

Describe the bug

When I asked Gemini CLI to "List the tag name for previous checkpoints", I received the following error:

✕ [API Error: [{
    "error": {
      "code": 403,
      "message": "Permission 'cloudaicompanion.companions.generateChat' denied on resource 
  '//cloudaicompanion.googleapis.com/projects/devx-prithpal/locations/global' (or it may not exist).",
      "errors": [
        {
          "message": "Permission 'cloudaicompanion.companions.generateChat' denied on resource 
  '//cloudaicompanion.googleapis.com/projects/devx-prithpal/locations/global' (or it may not exist).",
          "domain": "global",
          "reason": "forbidden"
        }
      ],
      "status": "PERMISSION_DENIED",
      "details": [
        {
          "@type": "type.googleapis.com/google.rpc.ErrorInfo",
          "reason": "IAM_PERMISSION_DENIED",
          "domain": "cloudaicompanion.googleapis.com",
          "metadata": {
            "permission": "cloudaicompanion.companions.generateChat",
            "resource": "projects/devx-prithpal/locations/global"
          }
        }
      ]
    }
  }
  ]]

Diagnostic Information

  • CLI Version: 0.1.0
  • Git Commit: 52afcb3
  • Operating System: darwin v22.16.0
  • Sandbox Environment: no sandbox
  • Model Version: gemini-2.5-pro
  • Memory Usage: 183.6 MB

ryanjsalva avatar Jun 23 '25 13:06 ryanjsalva

What previous checkpoints are you looking for?

For chat you can use /chat list

sethtroisi avatar Jun 25 '25 18:06 sethtroisi

I have the Same issue

sawyer1379416087 avatar Jun 26 '25 08:06 sawyer1379416087