AppCheck broken?

316 views
Skip to first unread message

Baraq L

unread,
May 28, 2021, 9:37:35 PM5/28/21
to Firebase Google Group
Every time I call a Firebase Function with HTTPS I get this error in logs:

Failed to validate AppCheck token. Error: Cannot validate AppCheck token. Please update Firebase Admin SDK to >= v9.8.0

However, I've followed the instructions to set up enforcement by running this command in a terminal at the firebase folder and then redeploying: 

npm install firebase-admin@">=9.8.0"

I've asked on every other forum and gotten no responses. Is there something I'm missing?

Sam Stern

unread,
May 29, 2021, 4:49:33 AM5/29/21
to fireba...@googlegroups.com
Hi Baraq,

Did you run that install command with the --save flag? You should see the updated version in your package.json if you did.  That may be what's missing. 

- Sam

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/d780d6b0-04a1-4c9d-9ba8-01330c089a43n%40googlegroups.com.

Baraq L

unread,
Jun 1, 2021, 5:12:08 AM6/1/21
to Firebase Google Group
Thanks so much for your help. I realized that I was running the command inside my main project folder, not the functions subfolder. Didn't realize they used a separate package.json. After running the same command in the subfolder everything is working great.
Reply all
Reply to author
Forward
0 new messages