Question: GDC portal data download
0
gravatar for a01039012387
2.2 years ago by
a0103901238710
a0103901238710 wrote:

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." }

SUMMARY: Failed to download: 1

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?

gdcportal download gdc tcga • 1.8k views
ADD COMMENTlink modified 2.2 years ago • written 2.2 years ago by a0103901238710

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.

ADD REPLYlink written 2.2 years ago by Kevin Blighe66k

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

ADD REPLYlink modified 2.2 years ago • written 2.2 years ago by a0103901238710

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.

ADD REPLYlink written 2.2 years ago by Kevin Blighe66k
1
gravatar for a01039012387
2.2 years ago by
a0103901238710
a0103901238710 wrote:

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

ADD COMMENTlink modified 2.2 years ago • written 2.2 years ago by a0103901238710
1

Okay - cool! Glad that it now works.

ADD REPLYlink written 2.2 years ago by Kevin Blighe66k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1154 users visited in the last hour