To invalidate the cache of my server rendered pages, I want to use the webhook feature after publishing stories.
The URL added in the webhook settings in Storyblok points to an AWS API-Gateway where only the POST method is allowed.
However when publishing a story the webhook request fails with the response
My API seems to work fine; post requests with the same body made with e.g.
curl or postman all succeed.
My guess is, that some headers from your side leads to this failure. It’s pretty hard to debug, since the API Gateway doesn’t log anything on this particular failure.
Do you have any idea what could trigger this failure?