After using Asana API for more than a year there were different problems but this one with webhooks is new and I don’t know how to solve it.
Just to clarify, we already had hundreds of webhooks created so there should be no issues on our side (I hope).
We are using official Asana PHP library and when we are trying to create a new webhook after some time an error is returned:
Asana\Errors\InvalidRequestError: Invalid Request (0) at Asana.Client.request(\src\vendor\asana\asana\src\Asana\Errors\AsanaError.php:39) at Asana.Client.post(\src\vendor\asana\asana\src\Asana\Client.php:149) at Asana.Resources.Gen.WebhooksBase.create(\src\vendor\asana\asana\src\Asana\Resources\Gen\WebhooksBase.php:82)
In logs I can see that Asana is sending request with
HTTP_X_HOOK_SECRET. So, I’ve tried to send the same request with Postman and I do receive a 200 OK response with
Are there any changes to webhooks or am I missing something?