Getting 500 error on forced revalidate
Unanswered
Ocicat posted this in #help-forum
![Avatar](https://cdn.discordapp.com/embed/avatars/2.png)
OcicatOP
I have a dynamic route for articles like /articles and we want pagination at /articles/[page].tsx and detail page at /articles/[slug].tsx.
I have a folder structure like /articles for landing page of articles and for pagination we hit to from browser on URL like articles/1/ but it actually hits the URL article/all/1. I have rewrite the code here to get this thing done.
its giving error of 500 when hit on revalidate api but only on vercel working perfect with local build.
note: my folder structure for listing and detail page, middleware and revalidate file snapshot is attached.
I have a folder structure like /articles for landing page of articles and for pagination we hit to from browser on URL like articles/1/ but it actually hits the URL article/all/1. I have rewrite the code here to get this thing done.
its giving error of 500 when hit on revalidate api but only on vercel working perfect with local build.
note: my folder structure for listing and detail page, middleware and revalidate file snapshot is attached.
![Image](https://cdn.discordapp.com/attachments/1143314345636409455/1143314346236199013/image.png)
![Image](https://cdn.discordapp.com/attachments/1143314345636409455/1143314346496241865/image.png)
![Image](https://cdn.discordapp.com/attachments/1143314345636409455/1143314346743709797/image.png)
![Image](https://cdn.discordapp.com/attachments/1143314345636409455/1143314346961805362/image.png)
1 Reply
![Avatar](https://cdn.discordapp.com/embed/avatars/0.png)
Pacific sandlance
Bump