Failure when trying to regenerate Deploy Key (checkout-key)

Similar to Checkout SSH-Keys returns a 404

I just revoked my access to CircleCI from Github. Re-enable it when I connected to CircleCI again. But i get an error when I am trying to remove then add again a deploy key.

Post to https://circleci.com/api/v1.1/project/github/org/project/checkout-key

It returns

{"message":"{\"message\":\"Not Found\",\"documentation_url\":\"https://docs.github.com/rest/reference/repos#create-a-deploy-key\"}"}

It also break your JS.

Uncaught (in promise) Error: {"message":"Not Found","documentation_url":"https://docs.github.com/rest/reference/repos#create-a-deploy-key"}

It might be a side effect of [CircleCI Security Alert] Rotate any secrets stored in CircleCI - #107 by aaronstillwell ?

It was related to a script on our side to handle deploy key.

But I think the front should better handle this error.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.