Status Codes
Understand Clarifai's error codes
All our API endpoints return a status code and a description that gives details of the status. A full list of those status codes is shown below.
If a status comes back that you do not see below, please reach out to support@clarifai.com.
Generic
CODE | ERROR | DESCRIPTION |
---|---|---|
10000 | SUCCESS | Ok |
10001 | SUCCESS_WARNING_API_DEPRECATED | |
10002 | SUCCESS_WARNING_CLIENT_DEPRECATED | |
10010 | MIXED_STATUS | Mixed Success |
10020 | FAILURE | Failure |
10030 | TRY_AGAIN | Try the request again |
10040 | NOT_IMPLEMENTED | |
10050 | MOVED | Resource moved |
Clarifai Connection Codes: 11xxx
CODE | ERROR | DESCRIPTION |
---|---|---|
11000 | CONN_ACCOUNT_ISSUES | Account or plan issue, such as expired credentials, account still in trial, or feature not supported in your tier |
11001 | CONN_TOKEN_INVALID | Invalid authentication token used |
11002 | CONN_CREDENTIALS_INVALID | Invalid authentication credentials |
11003 | CONN_EXCEED_HOURLY_LIMIT | Throttle hourly request limit exceeded |
11004 | CONN_EXCEED_MONTHLY_LIMIT | Throttle monthly request limit exceeded |
11005 | CONN_THROTTLED | Throttler and billing stuff; making too many requests |
11006 | CONN_EXCEEDS_LIMITS | Throttler and billing stuff; account limits exceeded |
11007 | CONN_INSUFFICIENT_SCOPES | API key has insufficient permissions |
11008 | CONN_KEY_INVALID | Invalid API key or Invalid API key/application pair |
11009 | CONN_KEY_NOT_FOUND | API key not found |
11100 | CONN_BAD_REQUEST_FORMAT | Bad request format; multipart form parsing, broken JSON, etc |
11101 | CONN_DOES_NOT_EXIST | Resource does not exist; when path is bad |
11102 | CONN_INVALID_REQUEST | Invalid request; something wrong with a header |
11103 | CONN_METHOD_NOT_ALLOWED | Request method not allowed |
11104 | CONN_NO_GDPR_CONSENT | No GDPR consent |
11200 | CONN_AUTH_METHOD_DISABLED | Authentication method is disabled |
Model/Custom Training Related Codes: 21xxx
CODE | ERROR | DESCRIPTION |
---|---|---|
21100 | MODEL_TRAINED | Custom model has been already trained |
21101 | MODEL_TRAINING | Custom model is currently training |
21102 | MODEL_UNTRAINED | Custom model has not yet been trained |
21103 | MODEL_QUEUED_FOR_TRAINING | Custom model is currently in queue for training, waiting on inputs to process. |
21104 | MODEL_UPLOADING | Model uploading inputs |
21105 | MODEL_UPLOADING_FAILED | Model uploading inputs failed |
21106 | MODEL_TRAINING_FAILED | Generic error message for any type of model training error |
21110 | MODEL_TRAINING_NO_DATA | Custom model training had no data |
21111 | MODEL_TRAINING_NO_POSITIVES | Custom model training had no positive examples |
21112 | MODEL_TRAINING_ONE_VS_N_SINGLE_CLASS | Custom model training was ONE_VS_N but with a single class |
21113 | MODEL_TRAINING_TIMED_OUT | Training took longer than hard coded timeouts; contact support@clarifai.com if this continues to happen when creating new versions of your model |
21114 | MODEL_TRAINING_WAITING_ERROR | Training got error waiting on your inputs to process, please contact support@clarifai.com |
21115 | MODEL_TRAINING_UNKNOWN_ERROR | Training threw an unknown exception, please contact support@clarifai.com. |
21116 | MODEL_TRAINING_MSG_REDELIVER | Training request was unexpectedly redelivered, contact support@clarifai.com if this continues to happen. |
21117 | MODEL_TRAINING_INSUFFICIENT_DATA | Training got error due to insufficient labelled data |
21118 | MODEL_TRAINING_INVALID_PARAMS | Invalid parameters during model training |
21119 | MODEL_TRAINING_INVALID_DATA_TOLERANCE_EXCEEDED | Training is stopped because too much data was dropped |
21150 | MODEL_MODIFY_SUCCESS | Model modification success |
21151 | MODEL_MODIFY_PENDING | Model modification pending |
21152 | MODEL_MODIFY_FAILED | Model modification failed |
21200 | MODEL_DOES_NOT_EXIST | Model does not exist |
21201 | MODEL_PERMISSION_DENIED | Model permission denied |
21202 | MODEL_INVALID_ARGUMENT | Invalid model argument |
21203 | MODEL_INVALID_REQUEST | Invalid model request |