Need help with revalidation/ssg logic.
Unanswered
Yacare Caiman posted this in #help-forum
Yacare CaimanOP
we are using staticProps and staticPaths with revalidation, the codebase is developed by another company and so I don't know a lot of things.
I am using next 13.4.19 with page router in the project.
STORY: we have implemented SSG with getStaticProps in the product detail page. which is having revalidate: 86400.
EXPECTED BEHAVIOR: for books that are returning 404 should be showing 404 from frontend, else everything should be as it is.
ISSUE: even though after revalidation of 24h, when the page is accessed it is returning 404 even when the backend api is returning response well enough.
I am new to its codebase. I would like if someone will be able to help in this issue.
Thank you.
I am using next 13.4.19 with page router in the project.
STORY: we have implemented SSG with getStaticProps in the product detail page. which is having revalidate: 86400.
EXPECTED BEHAVIOR: for books that are returning 404 should be showing 404 from frontend, else everything should be as it is.
ISSUE: even though after revalidation of 24h, when the page is accessed it is returning 404 even when the backend api is returning response well enough.
I am new to its codebase. I would like if someone will be able to help in this issue.
Thank you.