Vertex Errors
This page lists the errors that can be returned by the Vertex API.
Error Response
Format
The error response will be in the following format:
{
"err_type": "string",
"err_msg": "string"
}
Possible Error Codes
Status Code | Error Type | When? |
---|---|---|
400 | executor_result | Our cryptographic library returned an error - it will be specified in the err_msg field |
400 | key_operation_before_keygen | The key_id you tried to perform operation on is only created and you didn't performed keygen yet |
400 | key_id_not_exists | The input key_id supplied does not exist in the DB |
400 | user_id_not_exists | The input user_id supplied does not exist in the DB |
400 | already_performed_keygen | You are trying to perform keygen on a key share that already generated. To rotate the key you should perform a refresh on it |
400 | bad_n_and_t_params | The T, N (MPC threshold and total number of parties) parameters are invalid |
400 | room_creation_problem | There was an error while creating a Relay Room. the error will be specified in the err_msg field |
400 | bad_request_params | You supplied a bad request parameters |
400 | you_have_to_be_admin | You have to be admin to perform this action. add the admin token in the Authorization header and try again |
400 | batch_too_large | You exceeded the maximum request number in one batch. The MAX_BATACH_SIZE can be configured using the vertex CLI |
400 | policy_validation_failed | The performed action did not passed the policy check. The causing reason will be specified in the err_msg field |
400 | policy_not_found | The requested Policy does not exist in the DB |
400 | rule_not_found | The requested Rule does not exist in the DB |
400 | rule_in_use | The rule you're trying to delete is in use by policies so it can't be deleted. If you're sure you don't need it, you can delete the using policies and then try again. |
400 | policy_in_use_by_keys | The policy you're trying to delete is in use by keys as their attached policy. You can dettach them and try again if you still want to delete it. |
400 | policy_in_use_by_users | The policy you're trying to delete is in use by users as their default policy. You can unset it for them and try again if you still want to delete it. |
400 | rule_not_in_policy | The supplied rule_id is not in the policy_id provided |
400 | unique_violation | A resource with the same unique field already exists (can be names for users, policies, rules etc.) |
401 | access_denied | Access denied for this URI. You should add an Authorization header with a valid API Key and try again |
404 | not_found | Just like other HTTP servers 404. The URI does not exists |
500 | internal_problem | Some internal server error happend. you should check the Vertex log to understand further |