Issue Accessing GENIE API With Data Access Token (Redirects to Google Login)

19 views
Skip to first unread message

Leal, Alessandro

unread,
Dec 10, 2025, 7:59:03 AM (7 days ago) Dec 10
to cbiop...@googlegroups.com
Dear GENIE Support Team,

I am unable to access the GENIE API using my data access token. Every authenticated request is redirected to the login page, rather than returning the expected JSON data.

I generated a new token through the portal, but the behavior remains the same. This suggests that token-based API access may not be enabled for my account or for this GENIE instance.

My Gmail is: leal....@gmail.com 

Could you please confirm whether my account has permission to access the API programmatically?

Any guidance would be greatly appreciated.

Thank you very much for your help.

Best,
Alessandro


Alessandro Leal, MD, PhD

Hematology and Medical Oncology Fellow, PGY-6

NYU Grossman School of Medicine

462 First Avenue, OBV-C&B Building 556

New York, NY 10016

T 212-562-1135


______________________________________
This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain information that is proprietary, confidential, and exempt from disclosure under applicable law. Any unauthorized review, use, disclosure, or distribution is prohibited. If you have received this email in error please notify the sender by return email and delete the original message. Please note, the recipient should check this email and any attachments for the presence of viruses. The organization accepts no liability for any damage caused by any virus transmitted by this email.

Benjamin Gross

unread,
Dec 10, 2025, 11:11:27 AM (7 days ago) Dec 10
to Leal, Alessandro, cbiop...@googlegroups.com
Hi Alessandro,

Thank you for reporting this.  In an attempt to recreate your issue, I’m having a problem downloading a token from the genie cBioPortal.  Something may have broken on the site.  I’ll have an engineer take a closer look.

Thanks for your patience.

-Benjamin

-- 
You received this message because you are subscribed to the Google Groups "cBioPortal for Cancer Genomics Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cbioportal+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/cbioportal/CH2PR18MB3125596E45C058876FDBCE9898A3A%40CH2PR18MB3125.namprd18.prod.outlook.com.

Leal, Alessandro

unread,
Dec 10, 2025, 1:01:38 PM (7 days ago) Dec 10
to Benjamin Gross, cbiop...@googlegroups.com
Hi Benjamin,

Thank you for your prompt response and support!

Please let me know if any further action is needed from my side.

Best,
Alessandro

From: Benjamin Gross <benjami...@gmail.com>
Sent: Wednesday, December 10, 2025 11:11 AM
To: Leal, Alessandro <Alessan...@nyulangone.org>
Cc: cbiop...@googlegroups.com <cbiop...@googlegroups.com>
Subject: Re: [cbioportal] Issue Accessing GENIE API With Data Access Token (Redirects to Google Login)
 

[EXTERNAL]

Benjamin Gross

unread,
Dec 11, 2025, 8:33:12 AM (6 days ago) Dec 11
to Leal, Alessandro, cbiop...@googlegroups.com
Hi Alessandro,

One of our engineers thinks he found the issue.  Can you give it another try and let me know how it goes?

Thanks,
Benjamin

Leal, Alessandro

unread,
Dec 11, 2025, 9:09:08 AM (6 days ago) Dec 11
to Benjamin Gross, cbiop...@googlegroups.com
Good morning Benjamin,

The GENIE server is still not accepting my token for API access. I tried three different valid tokens that I've downloaded from the portal. 

Attached you will find the error message that I got.

Thank you,
Alessandro


From: Benjamin Gross <benjami...@gmail.com>
Sent: Thursday, December 11, 2025 8:32 AM
Screenshot 2025-12-11 at 9.07.22 AM.png

Leal, Alessandro

unread,
Dec 11, 2025, 9:41:21 AM (6 days ago) Dec 11
to Benjamin Gross, cbiop...@googlegroups.com
Dear Benjamin,

I could create another Gmail account, also linked to my institution, which allowed me to download a new token.

The new token works. It returns JSON data. See the screenshot attached.

Best,
Alessandro

From: Leal, Alessandro <Alessan...@nyulangone.org>
Sent: Thursday, December 11, 2025 9:08 AM
To: Benjamin Gross <benjami...@gmail.com>
Screenshot 2025-12-11 at 9.38.28 AM.png

Benjamin Gross

unread,
Dec 11, 2025, 2:37:52 PM (6 days ago) Dec 11
to Leal, Alessandro, cbiop...@googlegroups.com
I do see you in our system with two ids with leal.md.phd being the most recent.   Is this the id you used to download a new token?  I’d like to remove the former id.

Best,
Benjamin

PastedGraphic-1.png

<Screenshot 2025-12-11 at 9.38.28 AM.png>

Leal, Alessandro

unread,
Dec 11, 2025, 2:41:59 PM (6 days ago) Dec 11
to Benjamin Gross, cbiop...@googlegroups.com
That’s correct. I’m using the most recent id (leal....@gmail.com). Please remove the older one at your discretion.

Thank you!
Alessandro 


From: Benjamin Gross <benjami...@gmail.com>
Sent: Thursday, December 11, 2025 2:37:37 PM

Benjamin Gross

unread,
Dec 11, 2025, 2:45:17 PM (6 days ago) Dec 11
to Leal, Alessandro, cbiop...@googlegroups.com
Ok great, thank you!
-B

On Dec 11, 2025, at 2:41 PM, Leal, Alessandro <Alessan...@nyulangone.org> wrote:

That’s correct. I’m using the most recent id (leal....@gmail.com). Please remove the older one at your discretion.

Thank you!
Alessandro 


From: Benjamin Gross <benjami...@gmail.com>
Sent: Thursday, December 11, 2025 2:37:37 PM
To: Leal, Alessandro <Alessan...@nyulangone.org>
Cc: cbiop...@googlegroups.com <cbiop...@googlegroups.com>
Subject: Re: [cbioportal] Issue Accessing GENIE API With Data Access Token (Redirects to Google Login)
 

[EXTERNAL]

I do see you in our system with two ids with leal.md.phd being the most recent.   Is this the id you used to download a new token?  I’d like to remove the former id.

Best,
Benjamin

Reply all
Reply to author
Forward
0 new messages