[Prisma Cloud Compute] How to resolve "failed to retrieve repository <repository-name> tags, error repository: <repository-name> has bad format" error while setting up GAR
575
Created On 08/05/24 22:48 PM - Last Modified 03/19/26 17:19 PM
Symptom
You are setting up GAR scanning and you encounter the following error:
"failed to retrieve repository <repository-name> tags, error repository: <repository-name> has bad format"
Environment
- Prisma Cloud Compute SaaS version
- Prisma Cloud Compute Self-Hosted version
- Google Artifact Registry
Cause
The reason for this error could be that while configuring the registry settings, you might have added the "Repository Name" in the wrong format.
Resolution
Correct the repository name format to the following:
project-id/repository-name/*
Update the settings and re-scan, the error should go away.