I want to use the Firebase/Firestore SDK for my Nuxt3 application. When i want to store a new doc in my firestore db it allways leads to the following Error:
@firebase/firestore: Firestore (10.11.0): GrpcConnection RPC 'Write' stream 0x29b0fa74 error. Code: 5 Message: 5 NOT_FOUND:
This is how i store the data:
export const add = async (col: string, document: Object) => {
// @ts-ignore
const colRef = collection(firestoreDb, col);
const docRef = await addDoc(colRef, document);
return docRef;
};
The fully code can be found here: https://github.com/julix14/attraction_stack
Is anybody knowing what this error means, what it causes and how to fix it?