Revoked API Token

34 views
Skip to first unread message

Simon Bertron

unread,
Apr 22, 2026, 11:03:32 AMApr 22
to cloudlab-users
I have been using the Portal API (via https://gitlab.flux.utah.edu/emulab/portal-api) but today when I make requests I get HTTP 401 with either the message "pid" or the message "Token has been revoked".

It seems like there is a way to refresh my token via the API (https://gitlab.flux.utah.edu/emulab/portal-api/-/blob/master/cloudlabclient/examples/tokenRefresh.py?ref_type=heads) but there is a comment saying that it only works if your existing token is still valid and, in fact, I get the same 401 error pattern when I try to refresh my token this way.

Finally, I have tried downloading a token from the web portal but the token that is downloaded is the same (revoked) token I am already using. I have not found a way to refresh my token through the web portal.

Is there a way to refresh my token without a valid token in hand?

Sam Bird

unread,
Apr 22, 2026, 2:50:56 PMApr 22
to cloudlab-users
I have been having the same issue with the Portal API since yesterday.

Robert Ricci

unread,
Apr 23, 2026, 4:20:24 PMApr 23
to Sam Bird, cloudlab-users
Can you give this a try again? We found a bug that had caused our API
server to disconnect to the database. As a short-term workaround, we've
restarted the API server, and are working on a fix for the bug.
> --
> You received this message because you are subscribed to the Google Groups "cloudlab-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to cloudlab-user...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/cloudlab-users/4d5ee0c8-ca01-42b3-bb5a-6e3e605932aen%40googlegroups.com.

Simon Bertron

unread,
Apr 23, 2026, 4:48:53 PMApr 23
to cloudla...@googlegroups.com
It looks like I have a new token and that one is working. Thank you!

On 4/23/26 16:20, Robert Ricci wrote:
> [You don't often get email from ri...@cs.utah.edu. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
> You received this message because you are subscribed to a topic in the Google Groups "cloudlab-users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/cloudlab-users/quVUPSn2i_0/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to cloudlab-user...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/cloudlab-users/18a915e7cb9faa1d.8a70191c20c43d80.99907ed6ace3277d%40dent.
Reply all
Reply to author
Forward
0 new messages