skip to Main Content

Mongodb – MongoServerError: user is not allowed to do action [find] on [genius-car.service]

I was trying to learn MongoDB CRUD operations along with node express js when i try to go 'http://localhost:5000/service' its throwing the following error : D:Projects_WebDevBackEndserver-genius-car-servicenode_modulesmongodblibcmapconnection.js:207 callback(new error_1.MongoServerError(document)); ^ MongoServerError: user is not allowed to do action [find] on [genius-car.service]…

VIEW QUESTION

Firebase Callable Cloud Function CORS Error using Firebase Emulator and Vite

The following is the client-side code to call the cloud function: // add a new post addPostForm.addEventListener('click', (e) => { e.preventDefault(); const addPost = httpsCallable(functions, 'addPost'); addPost({ title: addPostForm.postTitle.value, description: addPostForm.postDescription.value, }) .then(() => { addPostForm.reset(), addPostModal.classList.remove('open'); addPostForm.querySelector('.error').textContent = '';…

VIEW QUESTION
Back To Top
Search