Bad Request with keyExpired

702 views
Skip to first unread message

Renato Forti

unread,
Nov 12, 2015, 12:11:57 AM11/12/15
to Google Identity Toolkit
Hi All,
I'm trying to use the kit with the "tutorial" android demo app, but get this error in the call to:


{
  "error": {
    "errors": [
      {
        "domain": "usageLimits",
        "reason": "keyExpired",
        "message": "Bad Request"
      }
    ],
    "code": 400,
    "message": "Bad Request"
  }
}

Any Idea?

log

11-11 22:35:21.361 27907-27907/com.google.identitytoolkit.demo I/Choreographer: Skipped 41 frames!  The application may be doing too much work on its main thread.
11-11 22:36:19.561 27907-27907/com.google.identitytoolkit.demo I/Adreno200-EGL: <qeglDrvAPI_eglInitialize:299>: EGL 1.4 QUALCOMM build:  (Merge)
11-11 22:36:19.561 27907-27907/com.google.identitytoolkit.demo I/Adreno200-EGL: Build Date: 07/09/13 Tue
11-11 22:36:19.561 27907-27907/com.google.identitytoolkit.demo I/Adreno200-EGL: Local Branch: AU_41
11-11 22:36:19.561 27907-27907/com.google.identitytoolkit.demo I/Adreno200-EGL: Remote Branch: 
11-11 22:36:19.561 27907-27907/com.google.identitytoolkit.demo I/Adreno200-EGL: Local Patches: 
11-11 22:36:19.561 27907-27907/com.google.identitytoolkit.demo I/Adreno200-EGL: Reconstruct Branch: 
11-11 22:36:19.571 27907-27907/com.google.identitytoolkit.demo W/Adreno200-EGL: <qeglDrvAPI_eglSetBlobCacheFuncsQCOM:5575>: EGL_BAD_PARAMETER
11-11 22:36:19.571 27907-27907/com.google.identitytoolkit.demo E/libEGL: eglSetBlobCacheFuncsANDROID resulted in an error: 0x300c
11-11 22:36:21.781 27907-29315/com.google.identitytoolkit.demo D/ApiRequest: request: https://www.googleapis.com/identitytoolkit/v3/relyingparty/verifyAssertion?key=AIzaSy...

thanks

Jin Liu

unread,
Nov 16, 2015, 9:42:59 PM11/16/15
to Google Identity Toolkit
Hi Renato,

Can you check the identitytoolkit.api_key in your AndroidManifest.xml is the same as the Android API Key in your Google Developer Console project?

Thanks,
Jin

Renato Forti

unread,
Nov 17, 2015, 4:33:03 PM11/17/15
to Google Identity Toolkit
Tks, I make a mistake on keys! This is the problem!
Reply all
Reply to author
Forward
0 new messages