214 - Bad Host Key¶
API Error Code | 214 |
HTTP Status Code | HTTP 403 Forbidden |
Error Text | The SSH key on the host does not match the stored key |
Description | Review Board encountered an unexpected SSH key on host (typically a repository). The key found didn’t match what Review Board had previously recorded. The hostname, key (in base64) and the key we expected to find (also in base64) will be returned along with the error. |
Examples¶
application/json¶
{
"err": {
"code": 214,
"msg": "The SSH key on the host does not match the stored key"
},
"expected_key": "_key in base64_",
"hostname": "svn.example.com",
"key": "_key in base64_",
"stat": "fail"
}
application/xml¶
<?xml version="1.0" encoding="utf-8"?>
<rsp>
<expected_key>_key in base64_</expected_key>
<stat>fail</stat>
<hostname>svn.example.com</hostname>
<err>
<msg>The SSH key on the host does not match the stored key</msg>
<code>214</code>
</err>
<key>_key in base64_</key>
</rsp>