Sentient AI
Information
Sentient AI Error Codes & Responses
Learn about Error Codes generated by the API Endpoint and its Rescource.
Sentient API returns error codes to help identify issues with your requests. Each error includes an HTTP status code, Error Code and a message to guide you in resolving the problem. Below, you’ll find common error codes and their descriptions to assist in troubleshooting and ensuring your requests are successful.
Search for Errors
General Errors V1
General errors can occur when making requests to the dev.flubel.com/api/v1/XXXXX endpoint. These errors are common across different resource types, regardless of the specific resource being used.
HTTP Code | Error Message | Code | Description |
---|---|---|---|
400 | Invalid or missing model. | ERR_MODEL_MISSING | The model parameter is required but missing. |
429 | Too many requests for model {model}. Please try again later. | ERR_TOO_MANY_REQUESTS | The rate limit for this model has been exceeded. Try again later. |
401 | API key is missing. | ERR_API_KEY_MISSING | No API key was provided in the request. |
403 | Invalid API key. | ERR_INVALID_KEY | The API key provided is incorrect. |
400 | API key is not active. | ERR_KEY_INACTIVE | The provided API key is disabled or not yet provisioned. |
403 | API usage limit for the day is complete. Try again tomorrow. | ERR_LIMIT_REACHED_DAY | The user has exhausted their daily API request limit. |
400 | Endpoint category is missing. | ERR_CATEGORY_MISSING | The request does not specify the required endpoint category. |
403 | Access to {endpointCategory} endpoint is denied for this key. | ERR_NO_PERMISSION | The API key does not have permission to access this endpoint. |
500 | Internal server error. | None | A generic error indicating an unexpected issue on the server. |
Chat V1
Chat errors can occur when making requests to the dev.flubel.com/api/v1/chat/completions endpoint. These errors are limited to /completions Resource Type.
HTTP Code | Error Message | Code | Description |
---|---|---|---|
405 | Method not allowed. Use POST. | None | The request was made with an invalid HTTP method. Only POST is allowed. |
400 | Invalid request. "messages" must be an array. | ERR_INVALID_MESSAGE_FORMAT | The "messages" parameter is required and must be an array. |
400 | The "role" property of each message must be either "user" or "assistant". "system" property is reserved for internal use only. | ERR_INVALID_ROLE_TYPE | The "role" field in the request contains an invalid value. |
400 | Each message must be an object with "role" (either "user" or "assistant") and "content" (a string). | ERR_INVALID_MESSAGE_STRUCTURE | The structure of the message object is incorrect. |
400 | The "content" property of each message must be a string. | ERR_INVALID_CONTENT_TYPE | The "content" field must be a string, but a different type was provided. |
400 | Incorrect model. Pick a model from sentient-9B-IT, sentient-70B-V, sentient-8B-I, sentient-8B-G, sentient-8x7B. | ERR_UNKNOWN_MODEL | The specified model does not exist or is unavailable. |
400 | Temperature must be a float between 0 and 1. | ERR_INVALID_TEMPERATURE | The temperature value is out of range. |
400 | max_tokens must be greater than 0 but less than 1. | ERR_INVALID_MAX_TOKENS | The "max_tokens" value is invalid. |
400 | top_p must be a float, greater than 0 but less than 1. | ERR_INVALID_TOP_P | The "top_p" parameter is not within the accepted range. |
400 | stop must be an array. | ERR_INVALID_STOP_FORMAT | The "stop" parameter should be an array but was not formatted correctly. |
400 | Each item in stop must be a string. | ERR_INVALID_STOP_ITEMS | One or more items in the "stop" array are not strings. |
400 | An error occurred, if the issue persists please contact us. | FLBERR_AKPFLAL | A general failure that requires support. |
500 | An unexpected error occurred. | ERR_INTERNAL_SERVER_ERROR | An internal server error occurred. Please try again later. |
Image V1
Chat errors can occur when making requests to the dev.flubel.com/api/v1/image endpoint. These errors are limited to /image Endpoint Identifier.
HTTP Code | Error Message | Code | Description |
---|---|---|---|
405 | Method not allowed. | None | The HTTP request method used is not allowed for the requested operation. |
400 | Prompt is required and must only be a string. | ERR_INVALID_PROMPT | The prompt parameter must be a valid string to be processed correctly. |
400 | Model for image generation is missing. | ERR_INVALID_MODEL | The model for image generation was not provided in the request. |
400 | Incorrect model. Pick a model from sentig, sentig-pro, sentig-vultr, sentig-anime, or sentig-realism. | ERR_UNKNOWN_MODEL | The selected model is incorrect or not supported. Please choose a valid model. |
400 | Prompt exceeds the maximum allowed token count of {MaxTokens}. Current token count: {promptTokens} | ERR_PROMPT_TOO_LONG | The provided prompt is too long, exceeding the token limit for processing. |
400 | Aspect ratio must be a JSON object with 'width' and 'height' as integers. | ERR_INVALID_ASPECT_RATIO | The aspect ratio must be specified as a valid JSON object with 'width' and 'height' integer values. |
400 | Aspect ratio is invalid for this model, select between 768px - {'maxWidth'}px. | ERR_INVALID_ASPECT_RATIO_SIZE | The aspect ratio is outside the acceptable range for the chosen model. |
400 | Seed is required and must be an integer. | ERR_INVALID_SEED | A valid integer seed value is required for generating the result. |
400 | An error occurred, if the issue persists contact us at Flubel via Discord or email us at fiend@flubel.com. | flberr-10798 | A general error occurred. Please reach out to support if the issue continues. |
500 | An unexpected error occurred. | ERR_INTERNAL_SERVER_ERROR | An internal server error occurred. Please try again later. |
PreviousAPI Keys
On this Page
API Error Codes
General Errors V1
Chat V1
Image V1