Skip to content

Firebase function rejected because of missing appcheck token #1716

@selcukbeyhan

Description

@selcukbeyhan

Related issues

[REQUIRED] Version info

"firebase-functions": "^3.24.1",

node:
"firebase-functions": "^3.24.1",

v22.15.0

14.2.2

[REQUIRED] Test case

[REQUIRED] Steps to reproduce

[REQUIRED] Expected behavior

[REQUIRED] Actual behavior

I have 1st gen callable functions.
When I call them, I receive following in the logs
2025-08-05 00:11:49.168 HKT
v2getXXXXXXX sjdugpudjdfb Failed to validate AppCheck token. FirebaseAppCheckError: Decoding App Check token failed. Make sure you passed the entire string JWT which represents the Firebase App Check token. at FirebaseAppCheckError.FirebaseError [as constructor] (/workspace/node_modules/firebase-admin/lib/utils/error.js:44:28) at FirebaseAppCheckError.PrefixedFirebaseError [as constructor] (/workspace/node_modules/firebase-admin/lib/utils/error.js:90:28) at new FirebaseAppCheckError (/workspace/node_modules/firebase-admin/lib/app-check/app-check-api-client-internal.js:187:28) at /workspace/node_modules/firebase-admin/lib/app-check/token-verifier.js:81:19 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { errorInfo: { code: 'app-check/invalid-argument', message: 'Decoding App Check token failed. Make sure you passed the entire string JWT which represents the Firebase App Check token.' }, codePrefix: 'app-check' }
2025-08-05 00:11:49.195 HKT
v2getXXXXXXX sjdugpudjdfb Callable request verification failed: AppCheck token was rejected.

I dont want to use AppCheck. It costs money.
Why is this happening? and how can I fix this?

Were you able to successfully deploy your functions?

YES

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions