Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting up Vercel live preview webhook #689

Closed
jonrrivera opened this issue Apr 24, 2024 · 1 comment
Closed

Setting up Vercel live preview webhook #689

jonrrivera opened this issue Apr 24, 2024 · 1 comment

Comments

@jonrrivera
Copy link

Hi,

I have been implementing this revalidation feature from the next js app route example. I have correctly set up the api routes to enable, disable and revalidate draft mode. But currently having an issue setting up the Webhook in Vercel because I keep getting this issue. I am making sure the CONTENTFUL_REVALIDATION_SECRET is correct but unfortunately I /api/revalidate seems to not be getting any path or slug from the payload. Please see more here.

Hope someone can help, thank you!

Screenshot 2024-04-23 at 8 49 41 PM
@YvesRijckaert
Copy link
Contributor

Hi!
Can you share your code? What did you change compared to the example?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants