I have set up the Slack Webhook as per the instructions but whenever I send a test webhook or also with the test purchases in the sandbox, I always get a response 400.
The curl hello world from the Slack page works perfectly and I can see the message in my Slack channel.
Perhaps something has changed in the way Slack expects the messages to be formatted? In the sent json I don’t see the “text” field that I see in the Slack test webhook.
Thanks a lot.
Best answer by Haley PaceView original
Hi, not too sure what this could be without actually seeing your integration, but generally 400s mean that the webhooks RevenueCat are sending are not being accepted. Here is the following format that the Slack webhooks we send are in:
I have just followed the instructions for the integration, so I don’t think my set-up is of any difference.
What I meant by the Slack curl example is that the message they sent is the following:
I though they might have change the messages that they expect.
I will anyway check my integration and see if there is anything wrong there. Thanks
Well actually I am stupid. I was using a normal Webhook instead of the Slack Webhook in the integration page. So mystery solved, my bad.