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

121
Vistas
Getting an error in console despite successful sign up in Firebase

I'm trying to sign up a new user with email and password using Firebase.

Below you can see my Vue method.

signup() {
      if (!this.validate()) return
      const auth = getAuth()
      createUserWithEmailAndPassword(auth, this.email, this.password)
        .then(() => {
          console.log("Signup successful!")
        })
        .catch((error) => {
          const errorMessage = error.message
          console.error("Signup error! ", errorMessage)
        })
    }

Right below my script tag I have this import:

import { getAuth, createUserWithEmailAndPassword } from "@/firebase.js"

And in my firebase.js file I have this code:

import { initializeApp } from "firebase/app"
import { getAuth, createUserWithEmailAndPassword } from "firebase/auth"

const firebaseConfig = {
  // here I pasted the config object I got from Firebase
}

initializeApp(firebaseConfig)

export { getAuth, createUserWithEmailAndPassword }

When I try to sign a new user up, I get this printed out in the console:

POST https://identitytoolkit.googleapis.com/v1/accounts:lookup?key=AIzaSyDmpWucdj9MuwM5mvjA5_TKMCFlsUXUGpg 400
Signup successful!

I can see that I have a new user registered in my Firebase console. Why is this error showing up then?

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