Unable to follow project (HTTP Error 422)

If when you're unable to follow a project and see a pop-up error or if, in some instances, nothing happens.

  1. Open your browser console.
  2. Check if the following errors are present:
POST https://circleci.com/api/v1.1/project/gh/<your_organization>/<your_project>/follow 422 (Unprocessable Entity)

Note: In the above error message, <your_organization> will be replaced with your organization name and <your_project> will be replaced by the name of the project you're trying to follow.

Uncaught (in promise) Error: {"message":"{\"message\":\"Validation Failed\",\"errors\":[{\"resource\":\"Hook\",\"code\":\"custom\",\"message\":\"Hook already exists on this repository\"}],\"documentation_url\":\"https://docs.github.com/rest/reference/repos#update—a—repository—webhook\"}"}

If you do see the above errors, this suggests the presence of multiple CircleCI webhooks in the related repository settings.

To resolve the issue:

  1.  Go to the "Webhooks" section of the corresponding repository settings.
  2.  Delete any additional CircleCI webhook so that only one remains.
Was this article helpful?
3 out of 3 found this helpful



Article is closed for comments.