tnu drs commands returning error code

I'm trying to use a controlled-access file with a drs link in the terminal from an RStudio cloud environment on Terra. I can copy the curl command to download the file via the File browser and run it in the terminal, and the download succeeds. But when I try with Terra notebook utils according to these instructions, I get an error (same for drs copy and drs info)

rstudio@34a9a4682c3f:~$ tnu drs info drs://dg.4503:dg.4503/8083cde4-b5c3-11ec-8449-03f3ec58ca42
2024-04-04 09:57:13::WARNING  b'{\n  "message" : "404 Not Found: [no body]",\n  "statusCode" : 404\n}'
DRSResolutionError: Unexpected response while resolving DRS URI. Expected status 200, got 404. 



  • Comment author
    Anthony DiCi

    Hi Stephanie,
    Thank you for your much-appreciated patience!
    Can you please confirm whether this issue persists? You won't be able to use a controlled-access file without proper permissions. Let's first figure out why you are unable to relink to NHLBI. Can you please send me a screenshot of the External Identities page in your Terra profile? 
    I look forward to your reply!

  • Comment author
    Stephanie Gogarten

    I submitted a separate ticket about the error in relinking accounts; it was a bug and has now been fixed. The issue above seems to have resolved as well; `tnu drs info` gives the expected response.


Please sign in to leave a comment.