API key expired

4,045 views
Skip to first unread message

Alex Gogan

unread,
Sep 3, 2022, 10:29:17 AM9/3/22
to Google Cloud Endpoints
Hey everyone, 

we're noticing that some of the issued API Keys are occasionally "expiring" even though there is no way within the console to expire them. 
Cloud Endpoints is returning the message: 
{"message":"INVALID_ARGUMENT:API key expired. Please renew the API key.","code":400}

Has anyone run into this and is there a way we can prevent this from happening?
Message has been deleted

Andres Fiesco Casasola

unread,
Sep 6, 2022, 11:57:36 AM9/6/22
to Google Cloud Endpoints

According to this [documentation][1], an invalid argument was provided.  Did you get more information about this error? A log?  


[1]:https://cloud.google.com/apis/design/errors#handling_errors

Teju Nareddy

unread,
Sep 6, 2022, 12:21:11 PM9/6/22
to Andres Fiesco Casasola, Google Cloud Endpoints
Hi Alex,

I did some digging internally on this. It might be because you re-generated an API key in the GCP console. See the message in the picture below.
Do you remember doing this? I'm not aware of any other way for an API key to expire.

Screen Shot 2022-09-06 at 11.19.35 AM.png

--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/27952bfa-5b07-4b4e-9d5f-6fdd2da2c527n%40googlegroups.com.


--

Teju Nareddy

nare...@google.com

Software Engineer

Reply all
Reply to author
Forward
0 new messages