Next.js Discord

Discord Forum

Clerk Webhook receiving 308

Unanswered
Asari posted this in #help-forum
Open in Discord
AsariOP
I'm currently building a nextjs app and deploy it to vercel. I use clerk for the authentication and a webhook to sync clerks data with my db.
However the webhook returns a 308 code and doesnt actually hit the webhook.
When checking the logs in vercel it doesnt even show a request to my webhook endpoint.
It works fine in dev and worked previously on vercel aswell.
Any ideas?

3 Replies

AsariOP
Hitting the endpoint with curl results in a regular 400 error because I dont set the headers, but the endpoint generally works, just not from that endpoint
I thought maybe it is some kind of ddos / anti bot protection by vercel, but I couldn't find anything regarding that
Mountain Cur
i am also having the same issue here
Golden paper wasp
Same here. I get 308's in local using ngrok