Hello!
I recently noticed that a service, which only sends bundle requests using REST endpoints, to our FHIRStore kept failing on our production environment. It's been working just fine in our development environment. After no luck in finding the cause of the issue I was suggested by a coworker to try using the the project number instead of the Project ID. That worked! But now there is a discrepancy between our environments, where development is doing well using the Project ID and production seems to only work when using the Project Number. The same request will fail using the Project ID and succeed using the Project Number on production. Any info on this would be great!
This is an example of the failure that we have:
Endpoint:
https://healthcare.googleapis.com/v1/projects/production-XXXXXX/locations/us-east4/datasets/demo/fhirStores/demo-store/fhirStatus: 403 Forbidden
{
"issue": [
{
"code": "security",
"details": {
"text": "permission_denied"
},
"diagnostics": "Permission healthcare.fhirResources.update denied on resource projects/production-XXXXXX/locations/us-east4/datasets/demo/fhirStores/demo-store (or it may be malformed or not exist)",
"severity": "error"
}
],
"resourceType": "OperationOutcome"
}
Changing the url to use the Project number works:
/v1/projects/xxxxxxxxxx/locations
Notes:
* The store does exist
* We do have the update permissions configured.