Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

429
Views
Error de Strapi al escribir código para el método findOne

definí el método findOne en mi controlador:

 async findOne(ctx) { const { id } = ctx.params; const { query } = ctx; console.log(strapi.services.users); const entity = await strapi.services.users.findOne(id, query); const sanitizedEntity = await this.sanitizeOutput(entity, ctx); return this.transformResponse(sanitizedEntity); }

¡pero tengo un error que dice que hay un campo llamado '0' que no aparece en mymodel!

 Your filters contain a field '0' that doesn't appear on your model definition nor it's relations

¡Extrañamente no tengo ningún campo o valor = 0!

about 4 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 Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!