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

177
Views
Necesita volver a implementar en Vercel después de crear datos en el backend de strapi

Mi aplicación se crea en next js y strapi. Implementado en Vercel.

Cuando creo nuevas entradas con el rol de superadministrador, funciona bien en desarrollo y producción, pero si pruebo esto con un rol de Autor/Editor, aparece el error 404 hasta que vuelva a implementar la aplicación en Vercel.

Esto solo en páginas dinámicas. Realmente no sé qué parte del código mostrarte para ayudar a entender mi caso específico.

 export async function getStaticPaths() { const spectacles = await fetchAPI("/spectacles") return { paths: spectacles.map((spectacle) => ({ params: { slug: spectacle.slug, }, })), fallback: false, } } export async function getStaticProps({ params }) { const spectacle = (await fetchAPI(`/spectacles?slug=${params.slug}`))[0] const [spectacles, categories] = await Promise.all([ fetchAPI("/spectacles"), fetchAPI("/categories"), ]) return { props: { spectacle: spectacle, spectacles, categories }, revalidate: 1, } }
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!