• Jobs
  • About Us
  • Jobs
    • Home
    • Jobs
    • Courses and challenges
  • Businesses
    • Home
    • Post vacancy
    • Our process
    • Pricing
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Salary Calculator

0

330
Views
registro de error User TypeError: no se pueden leer las propiedades de undefined (leyendo 'status_code')

Hice un formulario en reaccionar y estoy tratando de finalizar el registro de un nuevo usuario. Está devolviendo el siguiente error:

POST https:[api] 403 TypeError: no se pueden leer las propiedades de undefined (leyendo 'status_code') en postUsers (serviceUserManager.js?t=1651765715794:15:18) en async handleSubmit (index.jsx:91:25)

mi código:

 export async function postUsers(user){ try{ const {data:{status_code,data}} = await api.post('/user',user) if(status_code === 201) return data return false }catch(error){ console.log('error register User', error) return false } }
over 3 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Our process Sales
Legal
Terms and conditions Privacy policy
© 2025 PeakU Inc. All Rights Reserved.

Andres GPT

Show me some job opportunities
There's an error!