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

240
Vistas
Uncaught (in promise) TypeError: Converting circular structure to JSON In Client side when posting to backend
const handleAddItem = event =>{
    event.preventDefault()
    const item = {
        name: event.target.name.value,
        description: event.target.name.value,
        img: event.target.img,
        category: event.target.category.value,
        email: user.email,
        quantity: event.target.quantity.value,
        price: event.target.price.value,
        suppName: event.target.supplierName.value
    }
    console.log(item);
    axios.post('the Url', item)
    .then(response => {
        console.log(response)
        const {data} = response;
        if(data.insertedId){
            alert('User Added Successfully')
        event.target.reset();
        }
    })

This is my code and the qrror is shown when I try to post my array. Don't understand why happening. my backend is totally good. the title of the error is

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