1
0
Entering edit mode
3.2 years ago
a01039012387 ▴ 10

Hello. I'm trying to download some TCGA WXS data from GDC portal using gdc-client, but it's not working.

It just shows the error message like below even though I use new token.

ERROR: Unable to download 9bb44eab-cf7f-4335-ba58-1fe8e815f4a8: 403 Client Error: FORBIDDEN:     { "message": "Your token is invalid or expired. Please get a new token from GDC Data Portal." }

ERROR: 9bb44eab-cf7f-4335-ba58-1fe8e815f4a8: 403 Client Error: FORBIDDEN: {   "message": "Your token is invalid or expired. Please get a new token from GDC Data Portal." }


and my bash file for running the gdc-client is like this.

$path_gdc-client download -t$token 9bb44eab-cf7f-4335-ba58-1fe8e815f4a8


what is the problem and how can I fix it?

0
Entering edit mode

Do you have approved access for the TCGA controlled-access data?; Why not just try to directly specify the token instead of via a variable?; if you already have approved access, then you should be aware that the token expires relatively quickly, so, you have to download new ones after a month or so.

0
Entering edit mode

I have approved access and download a new token just before running the command but it still not working.

0
Entering edit mode

At the risk of sounding completely condescending, this same command worked previously? - I never previously had to specify the -s parameter. How did you obtain the ID (9bb44eab-cf7f-4335-ba58-1fe8e815f4a8) for download? - I usually obtain a file manifest.

1
Entering edit mode
3.2 years ago
a01039012387 ▴ 10

I put the -s parameter since the GDC url was changed and it worked. And as your comment, I reobtain the ID from a file manifest and It's working! I seem to have made a mistake while getting the ID. I do not know why the error message says the token is a problem, though. Thank you so much for your help=3

1
Entering edit mode

Okay - cool! Glad that it now works.