Learn how to store user specific data of your Alexa Skills and Google Actions to Google Cloud Firestore.
This is a companion discussion topic for the original entry at https://www.jovo.tech/docs/databases/firestore
Learn how to store user specific data of your Alexa Skills and Google Actions to Google Cloud Firestore.
I did everything but when I do
jovo run --watch
I’m getting an error:
Error -----------------------------------------------------------------
Code:
app/invalid-credential
Message:
Certificate object must be an object.
Stack:
Error: Certificate object must be an object.
at FirebaseAppError.FirebaseError [as constructor] (C:\Users\a760201\Desktop\REPO\jovocli\jovocli\node_modules\jovo-db-firestore\node_modules\firebase-admin\lib\utils\error.js:39:28)
at FirebaseAppError.PrefixedFirebaseError [as constructor] (C:\Users\a760201\Desktop\REPO\jovocli\jovocli\node_modules\jovo-db-firestore\node_modules\firebase-admin\lib\utils\error.js:85:28)
at new FirebaseAppError (C:\Users\a760201\Desktop\REPO\jovocli\jovocli\node_modules\jovo-db-firestore\node_modules\firebase-admin\lib\utils\error.js:119:28)
at new Certificate (C:\Users\a760201\Desktop\REPO\jovocli\jovocli\node_modules\jovo-db-firestore\node_modules\firebase-admin\lib\auth\credential.js:105:19)
at new CertCredential (C:\Users\a760201\Desktop\REPO\jovocli\jovocli\node_modules\jovo-db-firestore\node_modules\firebase-admin\lib\auth\credential.js:173:64)
at Object.cert (C:\Users\a760201\Desktop\REPO\jovocli\jovocli\node_modules\jovo-db-firestore\node_modules\firebase-admin\lib\firebase-namespace.js:220:58)
at Firestore.initializeFirebaseAdmin (C:\Users\a760201\Desktop\REPO\jovocli\jovocli\node_modules\jovo-db-firestore\src\Firestore.ts:55:55)
at Firestore.install (C:\Users\a760201\Desktop\REPO\jovocli\jovocli\node_modules\jovo-db-firestore\src\Firestore.ts:38:14)
at plugins.forEach.plugin (C:\Users\a760201\Desktop\REPO\jovocli\jovocli\node_modules\jovo-core\src\Extensible.ts:123:12)
at Array.forEach ()