diff --git a/app/controllers/api/vcs.php b/app/controllers/api/vcs.php index d4055e4860..0dd854ce98 100644 --- a/app/controllers/api/vcs.php +++ b/app/controllers/api/vcs.php @@ -790,7 +790,7 @@ App::post('/v1/vcs/github/events') $valid = empty($signatureRemote) ? true : $github->validateWebhookEvent($payload, $signatureRemote, $signatureLocal); if (!$valid) { - throw new Exception(Exception::GENERAL_ACCESS_FORBIDDEN, "Payload is not signed properly. Please make sure webhook secret has same value in GitHub app and in _APP_VCS_GITHUB_WEBHOOK_SECRET environment variable"); + throw new Exception(Exception::GENERAL_ACCESS_FORBIDDEN, "Invalid webhook payload signature. Please make sure the webhook secret has same value in your GitHub app and in the _APP_VCS_GITHUB_WEBHOOK_SECRET environment variable"); } $event = $request->getHeader('x-github-event', '');