> For the complete documentation index, see [llms.txt](https://docs.vida.id/identity-stack/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vida.id/identity-stack/authentication/authentication-factors/cryptographic-token-pki/integration-methods/api/error-code.md).

# Error Code

<table><thead><tr><th width="127">Code</th><th width="143">Status</th><th>Message</th><th>Scenario</th></tr></thead><tbody><tr><td>200</td><td>SUCCESS</td><td>The device is registered successfully.</td><td>The device has been registered.</td></tr><tr><td>200</td><td>SUCCESS</td><td>The public keys are registered successfully.</td><td>The public keys are registered for the credential ID.</td></tr><tr><td>200</td><td>SUCCESS</td><td>The credential ID: {credential_id} is inactive.</td><td>The device registration timed out.</td></tr><tr><td>200</td><td>SUCCESS</td><td>Added nonce for signing.</td><td>The nonce has been added but not signed yet.</td></tr><tr><td>200</td><td>SUCCESS</td><td>The credential generated successfully</td><td>The given credential id is found.</td></tr><tr><td>200</td><td>SUCCESS</td><td>The device is unregistered.</td><td>The device has been unregistered.</td></tr><tr><td>200</td><td>SUCCESS</td><td>The silent key is valid.</td><td>The signature with the key for the user not present is valid.</td></tr><tr><td>200</td><td>SUCCESS</td><td>The user presence key is valid.</td><td>The signature with the key for the user being present is valid.</td></tr><tr><td>200</td><td>SUCCESS</td><td>The credential id is inactive.</td><td>The device has been un-registered.</td></tr><tr><td>400</td><td>FAILED</td><td>No device is registered for credential ID: {credential_id}.</td><td>No public key is registered against the credential ID.</td></tr><tr><td>400</td><td>FAILED</td><td>The silent key is not present.</td><td>Verification is requested against the silent key, yet no silent key is registered against the credential ID.</td></tr><tr><td>400</td><td>FAILED</td><td>Failed to validate the silent key</td><td>Validation against user not present key failed.</td></tr><tr><td>400</td><td>FAILED</td><td>The presence key is not present.</td><td>Verification is requested against the user presence key, yet no user present key is registered against the credential ID.</td></tr><tr><td>400</td><td>FAILED</td><td>Failed to validate the presence key.</td><td>Validation against the user presence key has failed.</td></tr></tbody></table>
