Hello AnVIL team,
I hope you’re doing well. I’m currently having trouble accessing a controlled dataset (phs003047; GREGoR) for which I have been granted access to.
I followed instructions found on the forum and made sure I that I have:
- an AnVIL/Terra account with CADR-compliant institution email,
- approval to access the dataset through dbGaP (dbgap_phs003047_c1 and dbgap_phs003047_c2),
- a working billing project in Terra (shared with me by my PI),
- an eRA commons ID linked to Login.gov,
- a linked NIH RAS identity in Terra under “Profile” > “External Identities”,
- a membership to the appropriate group under “Groups”
I also tried unlinking and relinking the RAS identity multiple times and waited at least 24 hours. However, whenever I run a WDL workflow, I keep getting an “AccessDenied” error message in the GCP Batch Job log, which looks like the following (shortened version and actual paths masked):
ERROR:getm.cli:{"message": "url innaccessable", "text": "<?xml version='1.0' encoding='UTF-8'?><Error><Code>AccessDenied</Code><Message>Access denied.</Message><Details>pet-xx@xx.iam.gserviceaccount.com does not have storage.objects.get access to the Google Cloud Storage object. Permission 'storage.objects.get' denied on resource '//storage.googleapis.com/projects/_/buckets/xx.cram' (or it may not exist).</Details></Error>", ... "status_code": 403}
I was really hoping I could get any help or advice in resolving this issue. Please let me know if you need any more information.
Thank you so much!
Hi @Sang_Yoon_Byun ,
Thanks for this question and for walking through all the troubleshooting steps! Your screenshots suggest you are set up correctly.
This might be due to a recent software bug discovered in DRS/RAS access for GREGoR data. The team is actively reviewing a fix for this, with an expected turnaround of a few days.
Please let us know if this persists in a few days. Apologies for the frustrating issue!
Best,
Ava
1 Like
Hi @Sang_Yoon_Byun ,
Just a quick update - the fix is now in production. Can you try running your workflow again?
Thanks!
Ava
1 Like
Hi @avahoffman ,
It’s working now! That was really quick 
Thank you so much your help!
1 Like
Good to see this resolved so quickly. Ava, was the DRS/RAS access bug specific to GREGoR data, or did it affect other datasets using the same access path? Sang_Yoon_Byun, when you reran the workflow, did the previously denied files open without any further configuration changes on your end? I’m curious whether the fix was purely server-side or if users need to refresh cached credentials. Posts like this are useful for anyone troubleshooting similar permission errors later.
Sang_Yoon_Byun’s confirmation that the denied files opened without further changes is a useful detail. The remaining question is whether credential caches were part of the problem, since a purely server-side fix wouldn’t require users to clear anything. If cached credentials were involved, that’s worth noting so others don’t waste time re-authenticating. It would also help to know whether the fix reached everyone on the same access path or only the datasets Ava flagged.
Hi @matthewbrown and @robertwilson,
If I remember correctly, I’m pretty sure I didn’t have to make any configuration changes on my end (like relinking RAS identity). I just reran the same WDL workflow on the same exact set of files, and the error was gone.
But I think renewing the RAS link once in a while definitely wouldn’t hurt, just to make sure everything is refreshed and up to date.
Also, one small tip I received from another member of the support team was that: we can quickly verify our file access by navigating to our workspace data tables and clicking on the drs://... paths of the files we’re interested in.
If we have access, the popup page should display a “Resolving DRS file…” message and successfully resolve the path, allowing us to view details like the resolved file path, file size, download option, etc. Otherwise, if we don’t have access, an error message will pop up instead.
This worked for me and I found this to be a quick way to check, instead of running the workflow and checking the batch job log. Wanted to share in case others are facing the same issue 
Thanks!