Download failure with gfetch, ukbfetch
I have not been able to download anything from UK Biobank using the command line tools. It does not appear to be an authentication problem; if I fail to specify a key then I get a different error message. Instead, I download a token number of bytes and then get Download failure. I am using examples given in the documentation.
$ ./gfetch 22418 -akXXXXXXrYYYYYY.key -c17
ugfetch on unx - ver Oct 23 2020 11:40:51 - using Glibc2.35(stable)
Run start : 2024-06-12T14:44:22
367 bytes fetched
Non-numeric header at position 0
387 bytes fetched
Non-numeric header at position 0
Download failure
Run end : 2024-06-12T14:44:32Even if I am doing something wrong, the error message is uninformative and offers no clues as what to do next.
I am involved in more than one project application and none of the applications or respective keys appear to work, all give the same opaque error.
Meanwhile (and this might be a separate issue), ukbfetch gives a different but more specific error about authentication.
$ tools/ukbfetch -e829423 -d6025_1_0 -akXXXXXXrYYYYYY.key
ukbfetch on unx - ver Jan 30 2019 15:39:51 - using Glibc2.35(stable)
Run start : 2024-06-12T14:51:40
308 bytes fetched
Download has been logged against IP address xxx.xxx.xxx.xx
Error: Authorisation key for App=XXXXXX is inactive or blocked, status=1
328 bytes fetched
Download has been logged against IP address xxx.xxx.xxx.xx
Error: Authorisation key for App=XXXXXX is inactive or blocked, status=1
Download failure
Run end : 2024-06-12T14:51:50(IPs and application IDs masked. Field IDs taken from examples in documentation.)
Comments
1 comment
There has been a major UK Biobank policy change, and data can no longer be downloaded. Researchers requiring new data will need to perform their analysis within the UKB cloud Research Analysis Platform (RAP) and not download it to their own institute's storage.
The policy has been announced by email to researchers, and is also available at https://community.ukbiobank.ac.uk/hc/en-gb/community/posts/19996604847133-Changing-the-way-UK-Biobank-data-is-made-available-to-researchers-around-the-world .
The ukbfetch and gfetch utilities will not work, even for items in a previously-approved basket. For more details, see https://community.ukbiobank.ac.uk/hc/en-gb/categories/19950747200413-UK-Biobank-Research-Analysis-Platform-UKB-RAP
Please sign in to leave a comment.