Policy Troubleshooter v3 returns INVALID_RESOURCE_NAME for Firestore named database
Hello Google Cloud community,
We are investigating a Policy Troubleshooter API error while verifying least-privilege IAM access to an isolated Firestore Native database.
Environment
-
Google Cloud project:
example-project-123(anonymized) -
API:
policytroubleshooter.googleapis.com -
Endpoint:
POST https://policytroubleshooter.googleapis.com/v3/iam:troubleshoot -
Service account:
status-limiter@example-project-123.iam.gserviceaccount.com(anonymized) -
Firestore database:
logo-operations(anonymized)
Exact failed request structure
Submitted accessTuple.fullResourceName (identifiers anonymized):
//firestore.googleapis.com/projects/example-project-123/databases/logo-operations
Attempted permission:
datastore.entities.get
Error returned
-
HTTP status:
400 INVALID_ARGUMENT -
Error classification:
INVALID_RESOURCE_NAME -
Affected field:
accessTuple.fullResourceName
The API rejected the resource name without returning an effective IAM permission decision.
Only one permission analysis was attempted. The remaining seven planned analyses were not executed after this failure.
Existing IAM configuration
We created a custom role named flowcastLogoStatusLimiter containing exactly one permission:
datastore.entities.update
The role is bound to the status-limiter service account.
Exact IAM condition structure (identifiers anonymized):
resource.name == "projects/example-project-123/databases/logo-operations"
The service account also has the existing roles/datastore.viewer role for read access.
Our intended security boundary is:
-
Permit updates to existing operational documents in the isolated named database.
-
Prevent writes to the default Firestore database.
-
Avoid granting document creation or deletion permissions.
The isolated database infrastructure has been provisioned, but the limiter application code has not yet been deployed.
Our IAM configuration and limiter RPC compatibility passed local review. However, effective permissions remain unverified.
Questions for the community and Google Cloud engineers
-
Does Policy Troubleshooter v3 support analyzing
datastore.entities.get,update,create, anddeleteon Firestore Native named databases? -
What is the correct
accessTuple.fullResourceNameformat for this resource and permission combination? -
Can Policy Troubleshooter evaluate the database-scoped IAM condition shown above?
-
Why might this resource name return
INVALID_RESOURCE_NAMEdespite following the published Firestore database naming pattern? -
If this resource/permission combination is unsupported, what officially supported read-only alternative can establish effective permissions without modifying production Firestore documents?
Current safety status
The Policy Troubleshooter API is enabled, but further analyses have been stopped pending clarification.
No IAM modifications, service-account impersonation, production Firestore document writes, backend deployments, checkout activation, or financial transactions occurred during this diagnostic investigation.
We can provide sanitized request and response evidence if necessary.
Thank you for your assistance.