Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

262
Vistas
Why does firebase asks for read access in order to write something into a collection?

Why does the firebase asks me for reading permision in order to write something in a collection?

Here is what i am trying to do:

            setDoc(doc(db, "UserOrders", {arguments[4] + 1}), {
                name: arguments[0],
                lastname: arguments[1],
                image: arguments[2],
                contact: arguments[3],
                orderNumber: arguments[4] + 1
            });

Obviously it is supposed to write some information into a collection, and it has nothing to do with the read property, but when i attempt to execute this code i get the next error;

enter image description here

Here are my firebase rules:

rules_version = '2';
service cloud.firestore {
  match /databases/{database}/documents {
    match /{document=**} {
      allow create, write: if true;
    }
  }
}
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda