Cloudera AI Gateway and Inference error reference
The Cloudera AI Gateway and Inference error reference lists the errors that Cloudera AI Gateway and Inference displays in Anywhere Cloud and returns to scripts, by product area, with the error code, a description, and a recommended action for each.
This guide lists the errors that Cloudera AI Gateway and Inference displays in Anywhere Cloud, and the errors that its API returns to scripts, organized by product area, with a description and a recommended action for each error.
Layout of the Cloudera AI Gateway and Inference error tables
Each section covers one area of Cloudera AI Gateway and Inference, and each table in a section covers one task or page in that area.
The Error code column shows the code that Cloudera AI Gateway and Inference returns with the message, with the HTTP status in parentheses. None means that the browser displays the message without a code.
The Description column starts with where the message appears, such as Pop-up: or Page:, followed by the message and what it means. Placeholders such as … stand for text that varies, such as a name.
Many recommended actions start with a key phrase, such as Try again or Ask your administrator. Actions for each tip explains each key phrase.
Actions for each tip
Many recommended actions start with a key phrase. The following list explains what to do for each key phrase:
- Try again: The problem might be temporary. Repeat the same action in a few moments. Pages load their data again by themselves a few times before they display a load error, but an action that you started, such as deploy, save, start, stop, or delete, is never repeated for you. Click the button again.
- Retrying will not help: Sending the same request again returns the same error. First change what the message or the tip names, or ask the person that the tip names.
- Retry button: Click Retry in the red box on the page to load the data again.
- Reload the page: Refresh the browser tab. Anything that you typed but did not save is lost. A reload sends your current Anywhere Cloud sign-in again, but it does not renew it.
- Sign in again: Cloudera AI Gateway and Inference has no sign-in page of its own. Sign in to the Anywhere Cloud Console again, and return to Cloudera AI Gateway and Inference. The Sign out item in the user menu at the top opens the sign-out page of the console.
- Fix the field: Change the value that the message names, and continue or send the request again. For a message under a field, nothing is sent or saved yet.
- Ask your administrator: Your administrator must check or change something that you cannot. Send your administrator the message, what you were doing, and the time. If the tip says Try again first, try again before you ask. The tip can also read send … to your administrator.
- Contact support: The problem is in the platform, not in what you entered. Send the same details to Cloudera Support, or ask your administrator to open a support case.
Error tables in this reference
Each product area has its own section. To find an error, see the section for the area where the error appeared:
Model deployment errors
These messages appear when you open, start, stop, delete, monitor, or test model deployments, or generate an API key. The following tables list the model deployment errors:
| Error code | Description | Recommended action |
|---|---|---|
| None (page message) | Page: Failed to load deployments. with Something went wrong reaching the service. Check your connection and try again. and a Retry button. The list cannot be read. The message is the same whatever the cause: a connection problem, an expired sign-in, a missing permission, or a server problem. The page does not display the reason. The list refreshes itself every 15 seconds. If one of these refreshes fails, this message replaces the list until a later refresh succeeds. This message is also displayed in Sign-in and access errors. | Click Retry and Reload the page. If other pages work but the error persists on this one, Sign in again. If the error still occurs, Ask your administrator, because Cloudera AI Gateway and Inference might be down or misconfigured. |
| None (page message) | Page: No deployments yet with Deploy your first model to get started. The list loaded and contains no deployments. | Click the Deploy model button. If you expected to see deployments, verify that you opened the correct Cloudera AI Gateway and Inference instance. |
| None (page message) | Page: No deployments found with Create a new deployment or clear your filters to see results. Your search text or filters hide every deployment. | Click the Clear filters button, or change the search text. |
| Error code | Description | Recommended action |
|---|---|---|
| None (page message) | Red box on the page: Failed to load deployment. with Something went wrong reaching the service. Check your connection and try again. and a Retry button. The page title displays the name from the address. The details of the deployment cannot be read, and the page does not display the reason. There is no separate not found or access denied page. A deleted deployment, a mistyped address, a missing permission, an expired sign-in, and a server problem all display this box. A deployment whose stored settings cannot be read, or whose runtime was removed from the cluster, displays this box every time. Scripts get the reason. For more information, see Using The API Or Scripts in this section. The Actions menu and Generate API Key are still displayed on this page. This message is also displayed in Sign-in and access errors. | Click Retry. Go back to Model deployments and search for the name. If the deployment is no longer listed (and there are fewer than 100 deployments, see the note under "Opening The Deployment List"), the deployment was deleted. Retrying will not help in that case. If the deployment is listed but does not open, Ask your administrator and give the deployment name. |
| Error code | Description | Recommended action |
|---|---|---|
| None (status: Failed) | Status badge: Failed in the list (the summary above the list counts it as … failed); Error on the deployment page. Both badges mean the same state. The model failed to load, its container crashes repeatedly or has exited, or its settings are not valid for its model server. | Open the deployment. On the Logs tab, check Storage Logs for model download problems and Model Container Logs for start-up crashes, for example, running out of memory. On the Events tab, read the newest Warning rows. Fix the cause with Edit deployment (for example, more memory or a larger GPU), or deploy the model again. Retrying will not help on its own. |
| None (status: Unknown) | Status badge: Unknown (list and deployment page). The service cannot determine the state from what the cluster reports. | Wait a few moments and Reload the page. If the status remains "Unknown", check the Events and Logs tabs. If they do not explain the status, Ask your administrator. |
| None (status: Stopped) | Status badge: Stopped (list and deployment page). Someone stopped the deployment. The deployment does not answer requests. | Click Start deployment in the row menu of the list or in the Actions menu. |
| None (status: Idle) | Status badge: Idle (list and deployment page). The deployment has scaled down to zero replicas, so no replica is running. The deployment retains its address, and the next request starts a replica. | Send a request (for example, from Test Model) and wait until the list displays Ready (Running on the deployment page). The first request can take a long time or time out while the replica starts (see "Timeouts And Scaling From Zero"). To maintain a running replica, set the Minimum of the Autoscale Range to 1 or more with Edit deployment. |
| None (status: Deploying / Scaling) | Status badge: Deploying or Scaling in the list; Initializing, Starting, Updating, ScalingUp or ScalingDown on the deployment page. The deployment is starting, changing, or changing its number of replicas. A cluster problem can leave the deployment in this state without turning it to Failed, for example, a replica that cannot be placed because not enough GPU, CPU, or memory is free, a model image that cannot be downloaded, or a quota that stops replicas from being created. Updating can also mean that rate-limit or routing settings are still being applied. | Large models can take a long time to download. If the state does not change, open Events. Scheduling warnings mean that not enough resources are free. Reduce the requested resources with Edit deployment, or Ask your administrator for more capacity. If Logs and Events say "No replicas are available for this deployment.", Ask your administrator to check the quota. |
| None (status counts) | Page (Replicas, on the deployment page): Pull Image … (hover: Replicas currently pulling the model image.) or Pending … (hover: Replicas waiting to be scheduled or started.), next to Total … and Healthy …. Some replicas are not serving yet. Pull Image counts replicas whose newest event has the reason Pulling or ImagePullBackOff. Pending counts the other replicas that are not ready yet. | Wait for the image download to finish. If "Pending" stays above 0, open Events. A scheduling warning means that not enough CPU, GPU, or memory is free. Lower the resources or the number of replicas with Edit deployment, or Ask your administrator for capacity. A warning about pulling the image means that the image cannot be downloaded. In this case, Ask your administrator. |
| Error code | Description | Recommended action |
|---|---|---|
| None (dialog) | Dialog (title "Stop …?"): This deployment will stop serving requests. All active replicas will be terminated. You can restart it at any time. … is the deployment name. Applications that call the deployment get errors until the deployment is started again. |
Verify that no application still needs the deployment and click Stop deployment. To start the deployment again, use the Actions menu or the row menu of the list. |
| Internal (500) | Pop-up: Something went wrong on the server. Try again later. (rpc error: code = FailedPrecondition desc = Endpoint is already started), or the same with Endpoint is already stopped. The deployment was already in the state that you requested. Someone started or stopped it after your page last refreshed, or you clicked Stop deployment on a deployment page that showed Failed to load deployment. (that page always offers Stop). Nothing is wrong, although the message reads like a server error. | Reload the page to see the current status. No other action is needed. |
| NotFound (404) | Pop-up: The resource was not found. It may have been deleted. (inferenceservices.serving.kserve.io "…" not found) … is the deployment name in lower case, with spaces replaced by -. The deployment no longer exists because someone deleted it. This message is also displayed in Deployment wizard and edit errors. |
Reload the page. If the deployment is gone, it was deleted. Retrying will not help. |
| Aborted (409) | Pop-up: That name is already in use. (the deployment was modified concurrently; retry the request) Something else changed the deployment at the same moment, so your action was not applied. The headline is misleading, because this error has nothing to do with a name. This message is also displayed in Deployment wizard and edit errors. | Try again. |
| Internal (500) | Pop-up: Something went wrong on the server. Try again later. (the API service is not permitted to complete the Kubernetes request) The cluster refused the request. This error relates to the rights of the service itself on the cluster, or to a cluster check that rejected the change. It does not relate to your permissions, and the real reason is not displayed. This message is also displayed in Deployment wizard and edit errors and Models And Registry. | Retrying will not help. Ask your administrator and give the time of the failure and the action that you tried. The records of the cluster itself can show why the request was refused. |
| Internal (500) | Pop-up: Something went wrong on the server. Try again later. (…) … is the error text of the cluster itself, for example, when the cluster could not be reached in time. |
Try again in a few moments. If the problem happens again, send the text in brackets to your administrator. |
| Error code | Description | Recommended action |
|---|---|---|
| None (dialog) | Dialog (title "Delete …?"): This deployment will be permanently deleted. All configuration, replicas, and associated endpoint routes will be removed. This action cannot be undone. … is the deployment name. Deleting cannot be undone. Despite the text, model routes are not removed for you. The delete is refused while the AI Gateway still uses the deployment (see the next row). |
Ensure that no application still calls the deployment. If an AI Gateway endpoint uses the deployment, follow the next row first. |
| FailedPrecondition (400) | Pop-up: Invalid request. Check your input and try again. (cannot delete deployment "…": AI Gateway Backend(s) still reference it (…), via AI Gateway Endpoint(s) (…) — delete them first) The first … is the deployment name in lower case, the second lists AI Gateway backends, and the third lists AI Gateway endpoints. The , via AI Gateway Endpoint(s) (…) part is displayed only while model routes still link those backends to endpoints. The deployment is still connected to the AI Gateway, so it cannot be deleted. The headline does not mean you typed something wrong. The block remains after you remove the model routes, because removing a model route retains its backend, and the UI cannot delete backends. |
Retrying will not help. 1) In Endpoints, open each endpoint named in the message and remove the model routes that use this deployment. For an endpoint you do not own, ask the owner of the endpoint to remove them. 2) Ask your administrator to delete each backend named in the message, because the Endpoints pages cannot do this. If you script the API yourself, delete the backend with DELETE /api/v1/ai-gateway/backends/{id}, using the id from GET /api/v1/ai-gateway/backends. 3) Delete the deployment again. |
| FailedPrecondition (400) | Pop-up: Invalid request. Check your input and try again. (endpoint deletion already in progress) A previous delete of this deployment is still finishing. The headline does not mean you typed something wrong. | Wait a few moments and Reload the page. The deployment disappears from the list on its own, so you do not need to delete it again. If the deployment is still listed after several minutes, Ask your administrator and give the deployment name. |
| Error code | Description | Recommended action |
|---|---|---|
| None (page message) | Page: No replicas are available for this deployment. (Logs and Events tabs) The deployment has no running or starting replica, so there is nothing to show. This happens when the deployment is stopped, when it is idle with no replicas, or when no replica could be created, for example, because a quota is used up. A deployment created through the API in Standard deployment mode (an option the UI does not offer) always displays this message, even while the deployment is running, and its Replicas line displays Total 0. | If the status is "Stopped", start the deployment. If the status is "Idle", send a request (for example, from Test Model) and look again. If the deployment never gets a replica, Ask your administrator to check the quota and free capacity. |
| None (page message) | Red box on the page: Failed to load logs. The logs of the selected replica and container cannot be read. Common causes: the container has not started yet (for example, Model Container Logs while the model is still downloading), the selected container does not exist (Storage Logs, the default choice, is missing for some model sources), or the replica was just replaced. The box can also replace logs that were already displayed, when the automatic refresh of the tab fails. | Select another Container (Storage Logs while the model downloads, Model Container Logs when the model runs) or another Replica, and click Refresh. If the error persists, Ask your administrator. |
| None (page message) | Page: No logs to display. The selected container has not written any log lines yet. | Select another Container, or wait and click Refresh. |
| None (page message) | Red box on the page: Failed to load events. The events of the selected replica cannot be read. | Click the refresh button next to the replica list, or select another replica. If the error persists, Ask your administrator. |
| None (page message) | Page: No events found. Kubernetes events time out. Events are typically only visible right after an endpoint modification or state change. The cluster has no current events for this replica, because older events expire. An empty list is normal for a healthy deployment. | Check the Logs tab instead. |
| None (event row) | Page (Events table): a row whose Event Type is Warning, with the text of the cluster itself in Reason and Message, for example, the reasons FailedScheduling, Failed, BackOff, or Unhealthy. Last Seen displays N/A when the cluster gave no time. These rows are the explanation of the cluster for why a replica is not healthy. | Read the newest Warning. If the reason is FailedScheduling, not enough GPU, CPU, or memory is free. Reduce the requested resources with Edit deployment, or Ask your administrator for capacity. If a Message is about pulling an image (for example, "ImagePullBackOff"), the model image cannot be downloaded, so Ask your administrator. If a Message is about restarting a failed container, or the reason is Unhealthy, the model container fails repeatedly. Check Model Container Logs. |
| Error code | Description | Recommended action |
|---|---|---|
| None (page message) | Page (list, Latency (ms) and Request rate (per second) columns): Unavailable The chart cannot be loaded from the metrics service. The deployment itself is not affected. | Reload the page later. If every row displays "Unavailable", Ask your administrator, because the metrics service might be down. |
| None (page message) | Page (list, Latency (ms) and Request rate (per second) columns): No data No metric was recorded in the last 30 minutes, for example, because the deployment is new and has not received a request yet, is idle or stopped, or its model server does not report this metric. A running deployment with no recent requests typically displays a flat line at 0 instead. For vLLM deployments, however, Latency (ms) displays No data whenever no request arrived in the last 30 minutes, because an average cannot be computed without requests. | Send a request (for example, from Test Model) and wait a few moments. If the column still displays "No data" while requests succeed, the model server does not report this metric. Retrying will not help in that case. |
| None (page message) | Page (list, Replicas column): N/A The replica count cannot be read from the metrics service, or there is no value yet. It does not mean that the deployment is broken. | Check the status and open the deployment. If every row displays "N/A", Ask your administrator, because the metrics service might be unavailable. |
| None (page message) | Page (Metrics tab, on a chart): Failed to load metrics. The data of that chart cannot be read from the metrics service. | Click the refresh button at the end of the time range bar, or select another time range (for example, 24h). If every chart fails, Ask your administrator. |
| None (page message) | Page (Metrics tab, on a chart): No metric data for this time range. Nothing was recorded in the chosen period: there was no traffic, the deployment was not running, or this model does not report that metric. | Select a longer time range (for example, 24h), or send some requests. |
| Error code | Description | Recommended action |
|---|---|---|
| None (disabled button) | Disabled button: The Edit deployment item in the Actions menu and the Edit button on the Configurations tab are disabled, with no explanation. The page cannot find the registered model ID and version that the deployment currently serves, so the deployment cannot be edited here. This is the case for every deployment in Standard deployment mode (which only the API can create) and for deployments created through the API from a source other than the model registry. | Retrying will not help. To change the deployment, click Deploy model and deploy the model again with the settings you want (see Deployment wizard and edit errors), and delete the old deployment. API users can change the deployment through the API. |
| Error code | Description | Recommended action |
|---|---|---|
| None (page message) | Page: Test Model is not available for this deployment. Cloudera AI Gateway and Inference cannot build an address for this deployment from its stored settings, for example, because no model name or API standard is recorded for it, or because its task is INFERENCE and the model is not Boltz-2. On Anywhere Cloud, the address does not depend on whether the deployment is running, so the message does not go away while the deployment starts. |
Retrying will not help. Ask your administrator or Contact support and give the deployment name. |
| None (page message) | Page (request editor): { "message": "No payload available for this model" } The page has no example request for this model, and fills the editor with this text instead. Any JSON object passes the check, so clicking Send sends this text to the model. | Replace the text with a request in the format that the model documentation describes and click Send. |
| None (form check) | Under the field: Enter a valid JSON object, or click "Reset request" to restore the example, then click Send. The request editor is empty. | Type a JSON request, or click Reset request. |
| None (form check) | Under the field: Request body must be in JSON format. The text is not valid JSON, or it is JSON but not a single object { … } (for example, a list or a plain value). |
Fix the field. Check the quotes, commas, and braces, or click Reset request. |
| None (form check) | Under the field (chat models and text-to-text generation models): The parameter "model" is required., The parameter "messages" is required., The parameter "model" must be of type string., The parameter "messages" must be of type array., Each item in the "messages" array must be of type object. or The "messages" array must contain at least one item. The named field is missing or has the wrong type. | Fix the field named in the message, or click Reset request. |
| None (form check) | Under the field (completion models): The parameter "model" is required., The parameter "prompt" is required., The parameter "model" must be of type string., The parameter "prompt" must be of type string or array., a message about input such as The parameter "input" is required., or must match exactly one schema in oneOf. The request must fit exactly one of three request formats: model with prompt, input, or model with messages. When the request fits none of them, or fits both the input and the messages format, the message describes the first problem found against the model and prompt format. When the request fits the prompt and the messages format, the message names what is wrong with input instead. must match exactly one schema in oneOf is displayed when the request fits both the prompt and the input format. For NeMo Retriever models of this type, the message can name model or prompt even though those models expect input or messages. | Click Reset request to restore a valid example and change only the values. |
| None (form check) | Under the field (object-detection models): The parameter "input" is required., The parameter "input" must be of type array., The "input" array must contain at least one item., Each item in the "input" array must be of type object., The parameter "type" is required., The parameter "type" must be "image_url"., The parameter "url" must be of type string., The parameter "url" is required. or must match exactly one schema in oneOf. The request does not match the expected format. The message describes the first problem found against the input format. The parameter "type" is required. is also displayed when type is present but is not text. must match exactly one schema in oneOf is displayed when the request is valid in both the input and the messages format at the same time. For parse models, which expect messages, the message can still name input. | Click Reset request to restore a valid example and change only the values. |
| None (form check) | Under the field (image-and-text-to-text models, whose example request has an image and a text part): The parameter "model" is required., The parameter "messages" is required., The parameter "model" must be of type string., The parameter "messages" must be of type array. or The "messages" array must contain at least one item. Alternatively, a short technical message in lower case that does not name the field is displayed: must have required property 'role' or must have required property 'content' (an item in messages lacks it), must be object (an item in messages is not an object), must be number (max_tokens, temperature, or top_p is not a number), must be boolean (stream is not true or false), or must be string (role is not text, or content is neither text nor a valid list of parts, each with a type of text or image_url). |
Click Reset request and change only the values. |
| None (form check) | Under the field (embedding models): The parameter "input" is required., The parameter "model" is required., The parameter "input" must be of type array of strings., The "input" array must contain at least one item., The parameter "model" must be of type string., The parameter "input_type" must be of type string. The message must be string means that an item in input is not text. | Fix the field named in the message, or click Reset request. |
| None (form check) | Under the field (reranking models): The parameter "model" is required., The parameter "query" is required., The parameter "passages" is required., The parameter "model" must be of type string., The parameter "query" must be of type object., The parameter "text" in "query" is required., The parameter "passages" must be of type array of objects., The "passages" array must contain at least one item., The parameter "truncate" must be of type string. The message must be string means that a text value is not text. The message must be object means that a passage is not an object. The message must have required property 'text' means that a passage has no text. | Fix the field named in the message, or click Reset request. |
| None (form check) | Under the field (BioNeMo Boltz-2, `mit/boltz2`): The parameter "polymers" must be of type array of objects., Each item in the "polymers" array must be of type object., The parameter "molecule_type" is required., The parameter "sequence" is required., The "polymers" array must contain at least one item., The "polymers" array must contain at most 12 items. The message must be string means that molecule_type or sequence is not text. | Fix the field named in the message. Use 1 to 12 polymers. |
| None (disabled button) | Disabled button: Send Request, on hover: Upload an image and enter a valid description to enable Send Request. (vision chat models, Image mode) or Upload an image to enable Send Request. (object-detection models, Image mode). No image is uploaded, or the description is empty or contains only spaces. The description box is emptied after each send. Image mode is offered only for object-detection models and a few vision models (for example, Llama 3.2 Vision and Gemma 3). For speech-to-text models, Send Request stays disabled until you select a file with Upload Audio. For text-to-speech models, Send Request stays disabled until you type text and while a request runs. No hover text is displayed for these models. | Upload an image with Upload Image, and type a description where the page requests one. For speech-to-text models, click Upload Audio. For text-to-speech models, type the text to speak. |
| None (pop-up) | Pop-up: Image file is too large. Maximum allowed size is 10MB. The image you selected with Upload Image is larger than 10 MB (10,485,760 bytes), so it was not loaded. | Resize or compress the image. |
| None (pop-up) | Pop-up: Audio file is too large. Maximum allowed size is 100MB. (speech-to-text models) The audio file is larger than 100 MB (104,857,600 bytes). The audio checks in this row and the next four rows run when you click Send Request. Nothing is sent while one of the checks fails. The size is checked first and the format. Then the browser decodes the file (Unable to analyze…), and only after that checks that the file is mono. Failed to validate… is displayed when the file cannot be read at all. | Use a shorter file, or a compressed FLAC or OPUS file. |
| None (pop-up) | Pop-up: Unsupported format. Please upload a file in WAV, OPUS, or FLAC format. The content of the file is not WAV, FLAC, or Opus. The check reads the start of the file, not its name, so this message is displayed, for example, for an MP3 or Ogg Vorbis file renamed to .wav or .opus. | Convert the file to WAV, FLAC, or OPUS. |
| None (pop-up) | Pop-up: Audio must be mono (single channel). The audio has more than one channel. | Convert the file to mono. |
| None (pop-up) | Pop-up: Unable to analyze audio file. Please ensure it is a valid audio file in the correct format. The browser could not decode the file: the file is damaged, or this browser cannot read its format. | Export the file again as mono WAV, or try another browser. |
| None (pop-up) | Pop-up: Failed to validate audio file. Please try again. The file could not be read while it was being checked, for example, because it was moved or deleted. | Select the file again. |
| None (page message) | Red box on the page: the error text of the browser itself, for example, Failed to fetch (the wording depends on the browser), or, with Streaming, Error streaming: … followed by that text. The browser could not reach the address of the deployment at all, so the model never received the request. A connection that breaks while the answer is streaming gives the same message. | Check your connection and that the deployment is running, and Try again. If the error always occurs here while the code sample works from a terminal, the browser cannot reach the deployment directly. In this case, Ask your administrator. |
| HTTP 4xx / HTTP 5xx | Response box (Full response): The box displays the error answer of the deployment itself. An answer sent as JSON (Content-Type: application/json) is displayed indented. Any other answer, including JSON sent with another content type, is displayed as one quoted string with \n and " in it. An empty answer displays null. The page displays no status code and no red text, and the line above the box still reads Response · Full response · … tokens · … s. The deployment refused or failed the request. |
Read the error in the Response box. See "Calling An Endpoint" for the meaning of the error. If the deployment is still starting, wait until the deployment is running and Try again. |
| HTTP 4xx / HTTP 5xx | Response box (Streaming): The box displays the error answer of the deployment as raw text, with no status code. The deployment refused or failed a streamed request. | Read the error in the Response box. See "Calling An Endpoint" for the meaning of the error. |
| HTTP 4xx / HTTP 5xx | Response card: Error - Status Code: … in red (Image mode of vision chat and object-detection models, speech-to-text and text-to-speech models), for example Error - Status Code: 401. The deployment refused or failed the request. The reason is displayed below the status. | Read the reason below the status. See "Calling An Endpoint". |
| HTTP 4xx / HTTP 5xx` / None (browser) | Response card (text-to-speech models): The card displays the error answer of the deployment itself as plain text, or Something went wrong with your request. Please try again. when the answer is empty, or the error text of the browser (for example, Failed to fetch) when the deployment could not be reached. | Check the Voice and Language Code values, and Try again. See "Calling An Endpoint" for the meaning of the answer. |
| None (pop-up) | Pop-up: Failed to copy (copy buttons of the request and response editors) The browser did not allow the page to write to the clipboard. | Select the text and copy it by hand. If copying never works, your browser or its settings block clipboard access for this page. If you cannot change that, Ask your administrator. |
| Error code | Description | Recommended action |
|---|---|---|
| None (page message) | Page: Code samples are not available for this deployment. Cloudera AI Gateway and Inference cannot build an address for this deployment (see Test Model is not available for this deployment. under Test Model), or no code sample exists for this kind of model. Waiting for the deployment to start does not change this. | Retrying will not help. Use the API documentation of the model itself. If the Test Model tab also says that it is not available, the deployment has no address. In this case, Ask your administrator or Contact support and give the deployment name. |
| None (page message) | Page: an empty code editor (speech-to-text and text-to-speech models other than Magpie TTS, Whisper, Canary, and Parakeet). There is no code sample for this model. | Use the API documentation of the model vendor. |
| None (pop-up) | Pop-up: Failed to copy to the clipboard. (copy buttons of the code sample, Base URL and Runtime Image) The browser did not allow the page to write to the clipboard. | Select the text and copy it by hand. If copying never works, your browser or its settings block clipboard access for this page. If you cannot change that, Ask your administrator. |
| Error code | Description | Recommended action |
|---|---|---|
| Unauthenticated (401) | Pop-up (title "Failed to generate API key"): Sign in again to continue. (session token is required to generate an access API key) The request did not carry your Anywhere Cloud session cookie (hadoop-jwt). A key is generated only for a request that carries this cookie, as a signed-in browser does. A script that sends only an API key or a bearer token gets this message. This message is also dispalyed in Sign-in and access errors. |
Sign in again to Anywhere Cloud in your browser and click Generate API Key again. For scripts, an API key or bearer token alone is not accepted for this call. |
| Unauthenticated (401) | Pop-up (title "Failed to generate API key"): Sign in again to continue. (not authenticated) The Anywhere Cloud Console did not accept your session, for example, because the session expired. | Sign in again and click Generate API Key again. |
| PermissionDenied (403) | Pop-up (title "Failed to generate API key"): You don't have permission to perform this action. (not authorized) The Anywhere Cloud Console does not allow your account to create API keys. | Retrying will not help. Ask your administrator for permission to create API keys. |
| NotFound (404) | Pop-up (title "Failed to generate API key"): The resource was not found. It may have been deleted. (console auth endpoint not found) The Anywhere Cloud Console does not offer the API key service at the address this instance uses. The headline is misleading, because nothing was deleted. | Retrying will not help. Ask your administrator to check the console address set for this instance. |
| FailedPrecondition (400) | Pop-up (title "Failed to generate API key"): Invalid request. Check your input and try again. (Anywhere Cloud console domain is not configured) This instance has not been told the address of the Anywhere Cloud Console, so it cannot create keys. The headline is misleading, because you did not type anything wrong. | Retrying will not help. Ask your administrator to set the console address for this instance. |
| Unavailable (503) | Pop-up (title "Failed to generate API key"): The service is temporarily unavailable. Try again later. (failed to reach console access-keys service) The service that issues API keys could not be reached, or did not answer within 30 seconds. | Try again in a few moments. If the problem happens again, Ask your administrator. |
| Internal (500) | Pop-up (title "Failed to generate API key"): Something went wrong on the server. Try again later. (…) … is the answer of the Anywhere Cloud Console itself, up to 512 characters. The answer can be raw JSON or HTML. When the console sent no text, … is console request failed with status … with the HTTP status number. The API key service of the console failed. |
Try again later. If the problem happens again, send the text in brackets to your administrator. |
| Internal (500) | Pop-up (title "Failed to generate API key"): Something went wrong on the server. Try again later. (failed to read console access key response), or the same with (failed to parse console access key response), (console access key response is missing api_key) or (failed to create console access key request). The console could not be called, or it answered something this instance could not use as a key. (failed to create console access key request) means that the console address set for this instance is not a usable address. | Try again. If the problem happens again, Contact support with the message. For "(failed to create console access key request)", Retrying will not help. Ask your administrator to check the console address set for this instance. |
| None (pop-up) | Pop-up (title "Failed to generate API key"): Network error. Check your connection and try again. (API key is missing from response) The answer reported success but did not contain a key, for example, because something between your browser and Cloudera AI Gateway and Inference answered in its place. For a network failure without this text in brackets, see General errors. | Reload the page and click Generate API Key again. If the problem happens again, Sign in again through the Anywhere Cloud Console. If the error still occurs, Ask your administrator. |
| None (pop-up) | Pop-up: Failed to copy to the clipboard. A new key was created, but the browser did not let the page copy it. The page cannot show the key, so this key cannot be used. | Keep this browser tab in front and click Generate API Key again, which creates another key. If copying never works, your browser or its settings block clipboard access for this page. If you cannot change that, Ask your administrator. |
| Error code | Description | Recommended action |
|---|---|---|
| InvalidArgument (400) | deployment id "…" must have the form k8s:<namespace>:<name>, deployment id "…" has unsupported scheme "…", namespace "…" is invalid: … or name "…" is invalid: … The deployment id in the address is malformed. After invalid: comes the naming rule, for example, must be no more than 63 characters. On Anywhere Cloud, the namespace part must still pass this check, and is then replaced by the configured one. | Use the id returned by the deployment list or get calls, for example, k8s:serving-default:my-model. |
| NotFound (404) | inferenceservices.serving.kserve.io "…" not found (get, describe or PATCH a deployment) No deployment with this name exists, for example, because it was deleted. … is the name in lower case, with spaces replaced by -. Start, stop, and delete answer the same way (see the previous pop-ups). |
Retrying will not help. Check the name with the deployment list call. |
| Internal (500) | rpc error: code = InvalidArgument desc = Name is required (older start and stop calls) The request has no deployment name. | Pass the deployment name. |
| InvalidArgument (400) | created_by must be a valid label value: … (GET /api/v1/deployments?createdBy=…) The creator filter is not a valid label value, for example, because it contains @. … explains the rule, for example, must be no more than 63 characters. |
Pass the createdBy value exactly as the deployment list displays it. A valid value has up to 63 letters, digits, -, _, and ., and starts and ends with a letter or digit. |
| InvalidArgument (400) | Empty filter key or value or invalid label filter "…": … (older list call) A filter has an empty key or value, or a key or value that is not allowed in a label. | Remove empty filters, and use valid label keys and values. |
| Internal (500) | unknown source type, strconv.Atoi: parsing "…": invalid syntax or runtime … not found (get or describe a deployment) The deployment exists, but its stored settings cannot be read, or its serving runtime was removed from the cluster. The UI displays Failed to load deployment. for it. | Retrying will not help. If the runtime was removed, an administrator must restore it. Otherwise, the owner of the deployment must delete the deployment and deploy the model again. |
| InvalidArgument (400) | replica is required (/api/v1 deployment logs and events calls) or tail_lines must not be negative, got … (/api/v1 deployment logs and service logs calls) The replica is missing, or tail_lines is negative. An empty container is allowed and selects the model container. |
Pass a replica name from the get call (deployment.status.revisions[].metadata.replicaNames) and a tail_lines value of 0 or more. |
| InvalidArgument (400) | unable to find pod … managed by resource (deployment logs and events calls) The replica is not a current replica of the deployment, for example, because it was replaced, or it belongs to another deployment. In the older logs call, an empty replica gives this message, with two spaces where the name would be. The UI displays Failed to load logs. or Failed to load events. for it. | Get the deployment again to read the current replica names and call again. |
| Unknown (500) / NotFound (404) / InvalidArgument (400) | … (deployment logs calls) The message is the text of the cluster itself, for example, because the container has not started yet or does not exist in the replica. The older call always answers Unknown (500). The /api/v1 call answers NotFound (404) or InvalidArgument (400) where the cluster says so. Because the /api/v1 logs calls stream, an error before the first line comes as an error object holding code and message, with the matching HTTP status. |
Select another container, or wait until the replica is running, and call again. |
| Unavailable (503) | reading pod log: … The replica or its node went away while its logs were being read. In the /api/v1 logs calls, the message arrives as the last line of the stream, an error object with code 14 and this message. When lines were already sent, the HTTP status is already 200 and those lines are valid. Otherwise, the status is 503. The older logs call answers Unavailable (503) and returns no lines. |
Try again. |
| InvalidArgument (400) / Unknown (500) | endpoint replica must be specified or endpoint must be specified (older events call) The message can also be the text of the cluster, returned as Unknown (500) from either events call, when the events cannot be listed. The older events call needs both the deployment name and the replica. The Unknown (500) answer means that the cluster did not return the events. | Pass both the deployment name and a current replica name. For Unknown (500), Try again later. |
| InvalidArgument (400) / NotFound (404) | container is required, Failed to find API pod (404) or container … does not exist in pod … (service logs, GET /api/v1/service/logs and the older service logs call) The container name is missing or wrong, or the replica of the service itself cannot be found. The older call does not accept an empty container. It answers container does not exist in pod …, with two spaces where the name would be. |
Pass the container api. For "Failed to find API pod", Ask your administrator. |
| None (status data) | `conditions` field (get or describe a deployment): type RoutingReady, status False, reason RoutingResourcesIncomplete, message Missing internal-gateway routing resources: …. … lists the missing parts. The routing that lets the deployment be called is not fully set up yet. The UI does not show this condition, and the status of the deployment does not take it into account. The deployment can show as ready while this condition is False. |
Wait a few moments and get the deployment again. If the condition does not clear, Ask your administrator. |
| None (status data) | `conditions` field: type RoutingReady, status False, reason TaskAPIStandardMismatch, message task "…" requires api-standard "openai", got "…" — this endpoint is not reconciled by the internal-gateway reconciler. The task of the deployment needs the OpenAI API standard, but the deployment uses another one, so its routing is not set up. The tasks concerned are TEXT_GENERATION, IMAGE_TEXT_TO_TEXT, EMBED, and TEXT_TO_SPEECH. |
Retrying will not help, because this condition does not clear by itself. New deployments are checked for this, so the owner can deploy the model again and delete this deployment. If the new deployment is refused with the same "requires api-standard" text, Ask your administrator to check the runtime installed for this model. See also "Models And Registry". |
| None (status data) | `conditions` field: Other entries are copied unchanged from the cluster and explain the status words (see Status Words), for example, why a replica cannot start. The UI does not show them. | Read the newest entry with status "False". |
| InvalidArgument (400) / Unknown (500) | GPU resource requirements should not be specified for CPU instance requests, CPU resource requirements should not be specified for GPU instance requests; or, as Unknown (500), quantities must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$', unable to parse numeric part of quantity, unable to parse quantity's suffix, or the cluster's text when nodes cannot be listed (cluster resources calls, GET /api/v1/cluster/resources) The resource filter mixes CPU and GPU settings, or a value is not a valid quantity. This message is also djsplayed in Deployment Settings. |
Do not mix CPU and GPU filters. Use quantities such as 4, 500m, or 16Gi. |
| FailedPrecondition (400) | start is not supported for third-party endpoints or stop is not supported for third-party endpoints (start and stop calls, both :start and :stop and the older calls) The name belongs to an older third-party endpoint, which cannot be started or stopped. |
Retrying will not help. If the endpoint is no longer needed, ask the owner of the endpoint to delete it. |
| Internal (500) / Unknown (500) | third-party endpoint deletion failed: … (Internal (500), delete) or ConfigMap data is nil (Unknown (500), get, describe or PATCH /api/v1/deployments/{id}) of an older third-party endpoint. Some parts of the external endpoint could not be removed, or its stored settings are damaged. |
For the deletion failure, Try again. If the error persists, or the next try answers that the endpoint is not found while the endpoint still answers requests, Ask your administrator to remove what is left. For "ConfigMap data is nil", Retrying will not help. Ask your administrator to repair or remove the endpoint. |
| None (status data) | `conditions` field (older third-party endpoint): type CredentialResolution, status False, reason SecretCatalogRefUnresolved, message Waiting for Secret Catalog entry "…" to be resolved into a credential Secret. The credential that the endpoint refers to is not available yet. | Verify that the Secret Catalog entry exists. If the condition does not clear, Ask your administrator. |
| Internal (500) / NotFound (404) / Unknown (500) | … (GET /api/v1/service and the older POST /api/describeService) The service could not report its settings, because it could not read the installed model runtimes or its own settings from the cluster. The text comes from the cluster. The UI uses the older call. When the call fails, no message is displayed: the deployment page hides some settings sections, and the Deploy model wizard does not offer inference logging on its Advanced configuration step. The edit page displays Failed to load the endpoint. This message is also displayed in Deployment wizard and edit errors. |
Try again later (Reload the page in the UI). If the problem happens again, Ask your administrator. |
| None (status data) | `description` field of an unhealthy part (service health call, `POST /api/describeServiceHealth`): failed to fetch namespace, failed to fetch api deployment, failed to fetch knative services or failed to fetch inference services. That part of the platform could not be checked. istio is always reported as not healthy, with no description. On Anywhere Cloud, cmlClient and cmlRegistry are also always reported as not healthy. |
Send the response to your administrator. Ignore istio and, on Anywhere Cloud, cmlClient and cmlRegistry. |
| None (HTTP 200) | Archive metadata doesn't exist or Error deleting archive! (delete a cluster log archive), in the message field of a successful answer. No archive has this ID, or its files could not be removed. An empty message means success, with one exception: an archive whose status is ARCHIVING (its files are still being collected) is not removed from the list. It stays listed, normally with the status INTERRUPTED, and a second delete removes it. For downloading an archive, see General errors. | For "Archive metadata doesn't exist", list the archives to get valid IDs and use one of those. For "Error deleting archive!", the archive is typically already gone from the list (a retry then answers "Archive metadata doesn't exist"), but its files might be left on the disk of the archive service. Ask your administrator if that space must be freed. If the archive is still listed after a delete, delete it again. |
| Unavailable (503) | … (create, list or delete a cluster log archive) The archive service cannot be reached. | Try again in a few moments. If the problem happens again, Ask your administrator. |
| Unknown (500) | strconv.Atoi: parsing "…": invalid syntax (delete a cluster log archive) The archive ID is not a number. | Use the archiveId from the archive list. |
Deployment wizard and edit errors
These messages appear when you deploy a model with the deployment wizard or edit a model deployment. The following tables list the deployment wizard and edit errors:
| Error code | Description | Recommended action |
|---|---|---|
| None (form check) | Under the field: Name is required. The Name field is empty or contains only spaces. | Fix the field: enter a name, for example my-model-endpoint. |
| None (form check) | Under the field: Name must not exceed 36 characters. The name is longer than 36 characters. The service counts the characters after it removes spaces at the start and end of the name and turns each run of spaces inside the name into one dash. This message is also displayed in AI Gateway Endpoints. | Shorten the name to 36 characters or fewer. |
| None (form check) | Under the field: Name cannot start or end with a dash. The name begins or ends with -. This message is also displayed in AI Gateway Endpoints. |
Remove the dash at the start or end of the name. |
| None (form check) | Under the field: Use lowercase letters, numbers, and dashes (spaces and capitals are converted). The name contains a character other than letters, digits, dashes, and spaces (for example _, ., /, or an accented letter), or it is only one character long. A name needs at least 2 characters, although the message does not say so. This message is also displayed in AI Gateway Endpoints. |
Remove the other characters, and use at least 2 characters. Capitals and spaces can stay. |
| None (form check) | Under the field: Description must not exceed 256 characters. The description is longer than 256 characters. The box typically stops you at 256 characters, so you typically see this message in Edit, for a deployment whose description was set to a longer text through the API. Next and Save changes stay disabled until you fix the description. | Shorten the description to 256 characters or fewer. |
| None (disabled button) | Disabled button: Next is disabled and no message is displayed. You have not typed a name yet. The name messages in the previous rows are displayed only after you start typing. | Fix the field: enter a valid name. |
| Error code | Description | Recommended action |
|---|---|---|
| None (disabled button) | Disabled button: Save changes on Review and create is disabled and no message is displayed. You opened the edit page on a later step, for example with Edit on the Configurations tab, and the description of the deployment is longer than 256 characters. The message about the description is displayed only on Deployment details. | Go back to Deployment details with the Previous button or the pencil icon next to it, and shorten the description to 256 characters or fewer. |
| None (no message) | Page: no message, but the Logging section is missing from Advanced configuration. The section is displayed only when inference logging is enabled for the service and the wizard can load the settings of the service. If either condition is not met, the section is hidden without a message. | If you expected Logging, Reload the page before you deploy. Reloading clears what you have entered. If the section is still missing, Ask your administrator whether inference logging is enabled for this service. |
| Error code | Description | Recommended action |
|---|---|---|
| InvalidArgument (400) | Pop-up (title "Failed to create deployment"): Invalid request. Check your input and try again. (serving namespace is not configured) The service is missing part of its setup and cannot place any deployment. Your input is not the cause, although the headline says so. This message is also displayed in AI Gateway Endpoints. | Retrying will not help. Ask your administrator to check the configuration of Cloudera AI Gateway and Inference. |
| InvalidArgument (400) | Pop-up (title "Failed to create deployment"): Invalid request. Check your input and try again. (service name must not exceed 36 characters) The name passed the form check but is too long for the server. The form counts several spaces in a row as one dash. The server turns every single space into a dash. This message is also displayed in AI Gateway Endpoints. | On Deployment details, use single spaces between words, or shorten the name. |
| InvalidArgument (400) | Pop-up (title "Failed to create deployment"): Invalid request. Check your input and try again. (service name must consist of alphanumerics, spaces, or "-") The name contains a tab or a non-breaking space, for example because it was pasted from a document. The form treats these characters like spaces. The server does not. This message is also displayed in AI Gateway Endpoints. | On Deployment details, delete the name and type it again instead of pasting it. |
| AlreadyExists (409) | Pop-up (title "Failed to create deployment"): That name is already in use. (deployment "…" already exists) … is the name in lowercase with spaces turned into dashes. Another deployment already has this name. It might belong to another user, or it might be an older third-party endpoint, which Model deployments does not list (it is displayed under Endpoints). Names that differ only in capital letters, or in spaces versus dashes, count as the same name. |
Enter a different name on Deployment details. If an earlier click of Deploy showed "endpoint deployed but rate limit setup failed", your deployment already exists. Open it from Model deployments instead of deploying again. For more information, see "Deployment Settings". If you deleted a deployment with this name moments ago, wait until it is gone from the list and Try again. |
| Internal (500) | Pop-up (title "Failed to create deployment"): Something went wrong on the server. Try again later. (failed to check for an existing deployment: …) … is the error text from the cluster. The service cannot check whether the name is free, because the cluster did not answer or refused the check. |
Try again in a few moments. If the problem happens again, Ask your administrator, and send the full text. |
| Unknown (500) | Pop-up (title "Failed to create deployment"): Something went wrong on the server. Try again later. (…) … is the error text from the cluster. The service cannot read its own inference-logging settings and stops before it deploys. Your input is not the cause. |
Try again later. If the problem happens again, Ask your administrator, because the setup of the service must be checked. |
| Internal (500) | Pop-up (title "Failed to create deployment"): Something went wrong on the server. Try again later. (failed to check Anywhere Cloud storage credentials secret …/…: …) The service cannot check the storage credentials that it uses to download models. This message is also displayed when you save changes in Edit, under the title Failed to update deployment. | Try again later. If the problem happens again, Ask your administrator. |
| Internal (500) | Pop-up (title "Failed to create deployment"): Something went wrong on the server. Try again later. (invalid CRN format …, expected 6 tokens got …) The identifier of the service itself is not configured correctly, so the service cannot give the new deployment an identifier. The message says 6, but the service needs 7 parts. Nothing is created. In Edit, under Failed to update deployment, this message can be displayed only for older deployments that have no identifier yet. | Retrying will not help. Ask your administrator or Contact support. |
| Internal (500) | Pop-up (title "Failed to create deployment"): Something went wrong on the server. Try again later. (the API service is not permitted to complete the Kubernetes request) The cluster refuses the request. This message is about the rights of the service itself on the cluster, not about your permissions. The same text is displayed when the checks that the cluster applies to model deployments reject the settings of the deployment. The real reason is then not displayed. This message is also displayed when you save changes in Edit, under the title Failed to update deployment. It is also displayed in Model deployment errors and Models And Registry. | Retrying will not help with the same settings. If the error is displayed only with certain settings, change them back. Otherwise, Ask your administrator, and give the time of the failure. The reason is recorded on the service side. |
| Internal (500) / NotFound (404) | Pop-up (title "Failed to create deployment"): Something went wrong on the server. Try again later. (…) or The resource was not found. It may have been deleted. (…) … is the text from the cluster, for example InferenceService.serving.kserve.io "…" is invalid: …. The cluster refuses or fails to create the deployment after the checks of the service itself pass. When the admission checks of the cluster reject the settings, you typically see the previous row instead. This message is also displayed when you save changes in Edit, under the title Failed to update deployment. |
Read the text after "is invalid:". The text often names the setting. Change that setting and Try again. If the text is unclear, or if the message says "not found", Ask your administrator. |
| Error code | Description | Recommended action |
|---|---|---|
| None (page message) | Red box on the page: Failed to load the endpoint. The page cannot read the current settings of the deployment, the settings of the service, or the model of the deployment in the registry. You also see this message when the deployment no longer exists or the address is wrong. The page does not show the reason. This message is also displayed in Model deployment errors. | Reload the page. Verify that the deployment is still listed in Model deployments and that you can open it. If its model was removed from the registry, you cannot edit the deployment in the UI. |
| None (page message) | Red box on the page: This endpoint cannot be edited — it has no editable model configuration. The page cannot find the registered model and version that the deployment serves. This happens for deployments created through the API, either in Standard deployment mode (the page cannot read the model of such deployments) or from a model source other than the AI Registry. It can also be displayed for a moment right after a deployment is created, while it is still being set up. In these cases, the Edit deployment button and the Edit buttons on the Configurations tab are disabled. You see this box when you open the edit address directly. | For a deployment created moments ago, wait a few moments, and Reload the page. In the other cases, Retrying will not help. Change the deployment through the API, or deploy the model again with Deploy model, which creates a deployment that you can edit here. |
| None (redirect) | Page: you land on Model deployments and no message is displayed. The address is the edit page of an older third-party endpoint. You cannot edit these endpoints here. | Retrying will not help. Change the endpoint through the API, or set up the provider as an AI Gateway endpoint. For more information, see "AI Gateway Endpoints". |
| Error code | Description | Recommended action |
|---|---|---|
| NotFound (404) | Pop-up (title "Failed to update deployment"): The resource was not found. It may have been deleted. (inferenceservices.serving.kserve.io "…" not found) … is the name of the deployment in lowercase with spaces turned into dashes. The deployment was deleted after you opened the edit page. This message is also displayed in Model deployment errors. |
Retrying will not help. Go back to Model deployments. If you still need the deployment, create it again with Deploy model. |
| Aborted (409) | Pop-up (title "Failed to update deployment"): That name is already in use. (the deployment was modified concurrently; retry the request) Someone or something else changed the deployment while you were saving. The headline does not apply, because the name is not the problem. Your changes were not saved. This message is also displayed in Model deployment errors. | Try again with the Save changes button. If the problem happens again, Reload the page, and make your changes again. |
| Error code | Description | Recommended action |
|---|---|---|
| InvalidArgument (400) | … This message is the text from the JSON reader, for example invalid character '}' looking for beginning of object key string or unexpected EOF. The request body is not valid JSON. | Fix the JSON (quotes, commas, brackets). Retrying will not help with the same body. |
| InvalidArgument (400) | proto: (line …:…): invalid value for … field …: … An example is proto: (line 1:52): invalid value for int64 field limit: "abc". A field has a value of the wrong type or out of range, for example text where a number is expected. The field is named in camelCase, also on v1alpha1. This message is also displayed in Sign-in and access errors. | Send a value of the right type for the field named in the message. |
| InvalidArgument (400) | proto: (line …:…): duplicate field … An example is proto: (line 1:40): duplicate field "name". The same field is displayed twice in one object, also when one copy is written in snake_case and the other in camelCase. This message also appears in Sign-in and access errors. | Remove one of the two copies. Do not mix both spellings for one field. |
| InvalidArgument (400) | proto: (line …:…): error parsing …, oneof … is already set An example is proto: (line 1:80): error parsing "hf_source", oneof serving.ModelSource.source is already set. The request sets two alternatives where only one is allowed, for example two model sources, or two subject kinds in one v1 initial_permissions entry. | Keep only one of the alternatives. |
| InvalidArgument (400) | proto: syntax error (line …:…): unexpected token … An example is proto: syntax error (line 1:15): unexpected token {. A field has the wrong structure, for example a single value or an object where a list is expected, or a text or number where an object is expected. On v1, updateMask must be one string, not an object or a list. A wrong value in a plain number, text, or true/false field gets the invalid value message in the previous rows instead. This message also appears in Sign-in and access errors. | Compare the request with the API reference, and fix the shape of the field. |
| InvalidArgument (400) | proto: (line …:…): google.protobuf.FieldMask.paths contains invalid path: "…" In a v1 PATCH request, an updateMask path is not a plain camelCase field path. The path is written in snake_case (for example spec.rate_limit), has a space after a comma (for example "spec.description, spec.rateLimit"), or contains another character such as -. Over REST, mask paths must be camelCase. … is the path as you sent it, including any leading space. |
Write each path in camelCase, for example spec.rateLimit. Separate paths with commas and no spaces, for example spec.description,spec.rateLimit. |
| InvalidArgument (400) | service name must be specified, service name cannot start or end with a "-" character, service name must not exceed 36 characters or service name must consist of alphanumerics, spaces, or "-" The service checks the name after it lowercases the name and turns each space into -. The name must not be empty, must not end with -, and must be at most 36 characters. The name must also be at least 2 characters of a-z, 0-9, and - that start and end with a letter or digit. A name that only starts with - gets the last message. Updates also return these messages, and so do the older describe and delete calls. The v1 calls also return these messages when the name, or the name inside {id}, is one character or 37 to 63 characters long. The wizard can also cause the last two messages. For more information, see Deploying (Review And Create). |
Use a name such as my-model of 2 to 36 characters. For updates, send the name exactly as listed. |
| InvalidArgument (400) | service description must not exceed 256 characters The description is longer than 2500 bytes. The service accepts descriptions of 257 to 2500 bytes, although the message says 256. This message also appears in AI Gateway Endpoints. | Limit the description to 256 characters, as the UI does. |
| InvalidArgument (400) | model source must be specified The request has no source. Updates must send the source again. | Include source, for example registry_source with model_id and version, also on updates. |
| InvalidArgument (400) | bundled_model_source is for internal use only and is not supported in production mode Built-in sample models are for internal testing only. | Retrying will not help. Use a model registry source. |
| InvalidArgument (400) | traffic value must be between 0 and 100, inclusive or traffic should be set to 100 for first deployment (v1alpha1) traffic is not a whole number from 0 to 100, or a new deployment sets it to anything but 100. | Leave traffic empty or set it to 100 when you create a deployment. On updates, use 0 to 100. |
| InvalidArgument (400) | container_concurrency cannot be negative or container_concurrency cannot exceed 1000 The limit of concurrent requests per replica is outside the range 0 to 1000. | Use a value from 0 to 1000. A value of 0 means no limit. On a v1alpha1 update, 0 leaves the current value unchanged instead. |
| InvalidArgument (400) | Updating a NIM or Hugging Face deployment: traffic splitting is not supported for … endpoints; traffic must be set to 100 or left empty, source type cannot be changed for … endpoints, model ID cannot be changed for … endpoints or model version cannot be changed for … endpoints … is NIM or HuggingFace. The source kind and model of these deployments never change, and neither does the version of a model from the registry. These deployments send all traffic to the newest revision. The message source type cannot be changed also appears when the update leaves out the source. |
Resend the same source as at creation, with traffic set to 100 or left empty. To use another model or version, create a new deployment. |
| InvalidArgument (400) | v1: name "…" is invalid: … (also namespace "…" is invalid: … for the parts of an {id}). The text after the colon is one or both of must be no more than 63 characters and a lowercase RFC 1123 label must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character (e.g. 'my-name', or '123-abc', regex used for validation is '[a-z0-9](http://[-a-z0-9]*[a-z0-9])?') (or must not contain dots), joined by ; . A missing name also gets the second text. Unlike v1alpha1, v1 does not convert capitals or spaces. |
Use a lowercase name such as my-model of 2 to 36 characters. Copy {id} values from the list or get calls. |
| InvalidArgument (400) | v1: third_party_source is not supported by the v1 deployments API; configure external providers as an AI Gateway backend (POST /api/v1/ai-gateway/backends) and expose them through an AI Gateway endpoint (POST /api/v1/ai-gateway/endpoints) External providers cannot be model deployments in the v1 API. | Create an AI Gateway backend and endpoint instead. For more information, see "AI Gateway Endpoints". |
| InvalidArgument (400) | v1 create: url_source.metadata is required, task is required for url_source; set DeploymentSpec.task or task must not be set for bundled_model_source A URL source needs metadata and spec.task. A bundled source must not set a task. Over REST, an unknown task name is dropped and also leads to the second message. | For a URL source, add url_source.metadata and spec.task. For a bundled source, remove spec.task. Bundled sources are refused in production anyway. See the "bundled_model_source" row earlier in this table. |
| InvalidArgument (400) | v1: spec.vllm_args "…" is managed by the platform and cannot be set The argument is one of --backend, --model_id, --model_name, --model_dir, --task, --enable-lora, or --lora-modules. |
Remove that argument. Set the task with spec.task and the adapters with spec.adapters. |
| InvalidArgument (400) | v1: spec.autoscaling.max_replicas must be at least 1; omit it to use the platform default max_replicas is 0 or negative. The service checks this value on create, and on update when updateMask names the field. | Set max_replicas to 1 or more, or leave it out. |
| InvalidArgument (400) | v1: spec.resources.gpu_count must not be negative, spec.resources.gpu_resource_name "…" must be a qualified extended resource name such as nvidia.com/gpu or spec.resources.gpu_resource_name "…" is also the resource of secondary_networks[…] The GPU count or GPU resource name is not valid. The service checks the name even when gpu_count is 0. | Use 0 or more GPUs. Leave gpu_resource_name empty for nvidia.com/gpu, or Ask your administrator for the right name. |
| InvalidArgument (400) | v1: spec.traffic … must be between 0 and 100, spec.traffic … must be 100 for a standard deployment, which has a single revision or spec.traffic must be 100 or unset on create: there is no previous revision to split against spec.traffic is below 0 or above 100, is not 100 on a Standard deployment, or is not 100 on create. On updates, the service checks it only when updateMask names spec.traffic. | Leave spec.traffic out on create and for Standard deployments. Otherwise, use 0 to 100. |
| InvalidArgument (400) | v1: resources.secondary_networks[…].quantity must be greater than zero A secondary network entry has a quantity of 0 or less. … is the position of the entry in the list, counted from 0. |
Set quantity to 1 or more, or remove the entry. |
| InvalidArgument (400) | v1: spec.labels key "…" is reserved for the platform The tag key is created-by, service-type, azure.workload.identity/use, or model-owner, or it starts with md- or metering.cloudera.com/. |
Rename the tag. |
| None (warning in a successful reply) | v1 create or update, in warnings: min_replicas is 0 (scale-to-zero) on a GPU-backed endpoint. Large models can take 15-30 minutes to cold-start, which exceeds Knative's ~900s revision timeout -- the first request after a scale-to-zero period is likely to fail. Consider setting min_replicas >= 1 to keep at least one replica warm. The deployment requests at least one GPU and min_replicas is set to 0. The deployment was saved, but it can stop all GPU replicas when idle. | Set min_replicas to 1 or more if the deployment must answer promptly. |
| InvalidArgument (400) | v1 PATCH update mask: update_mask is required and must name at least one field, update_mask names a field that does not exist on UpdateDeploymentRequest: … (… lists all mask paths, not only the wrong one. The message also appears when a path goes inside a list or map, for example spec.labels.key), update_mask must not name "…", which is not updatable (the field is id, update_mask, skip_adapter_validation, spec.task, or spec.deployment_mode), update_mask path "spec" covers immutable field "spec.task"; use a more specific path or update_mask names "…" without a value for it: send the value explicitly (the field is spec.inference_logging_config.enabled or spec.traffic). This message also appears in AI Gateway Endpoints. |
Name each field that you change, in camelCase (for example spec.rateLimit), separated by commas without spaces, and send a value for it. For lists and maps, name the whole field (for example spec.labels). Task and deployment mode cannot change. Create a new deployment. |
| AlreadyExists (409) / Internal (500) | Older third-party endpoint (third_party_source) deploy: deployment "…" already exists or failed to check for an existing deployment: … These messages are the same as for model deployments. When you give the credentials directly (not secret_catalog_ref), already exists also appears when only leftover credentials of a removed deployment with this name remain. | Use another name. If no deployment with that name exists, leftover credentials block the name. Retrying will not help. Ask your administrator to remove them. |
| InvalidArgument (400) | Older third-party endpoint: url is required, model is required or provider_type must be specified The request does not include a required field. | Set url (for example https://api.openai.com), model, and provider_type (OPENAI, AZURE_OPENAI, AWS_BEDROCK, GEMINI, or ANTHROPIC). |
| InvalidArgument (400) | Older third-party endpoint: secret_catalog_ref.catalog_id is required when secret_catalog_ref is set or secret_catalog_ref is not supported for provider …; supported providers are OPENAI, AZURE_OPENAI, ANTHROPIC … is AWS_BEDROCK or GEMINI. The request sends secret_catalog_ref as an empty text, or the provider cannot use stored credentials. In v1alpha1, secret_catalog_ref is a text field that holds the name of the stored secret entry. The message names it catalog_id, although the request has no such field. |
Set secret_catalog_ref to the name of the stored secret entry, or pass the credentials directly for Bedrock and Gemini. |
| InvalidArgument (400) | Older third-party endpoint: api_version is required for Azure OpenAI, api_key is required for OpenAI, api_key is required for Azure OpenAI or api_key is required for Anthropic A required field is missing from the request. On updates, you must send the whole third_party_source, including the key, again. | Add the missing field, or use secret_catalog_ref for the key. |
| InvalidArgument (400) | Older third-party endpoint (AWS Bedrock): aws_credentials are required for Bedrock, aws_credentials must provide either bearer_token or access_key_id and secret_access_key, not both, region is required for Bedrock IAM credentials, access_key_id is required for Bedrock IAM credentials, secret_access_key is required for Bedrock IAM credentials or bearer_token or access_key_id and secret_access_key is required for Bedrock The aws_credentials are missing, combine a bearer_token with an access key, include only half of the access key pair, or include the access key pair without a region. Nothing was created or changed. This message also appears in AI Gateway Endpoints. | Send either a bearer_token, or access_key_id, secret_access_key, and region. |
| InvalidArgument (400) | Older third-party endpoint (Gemini): gcp_credentials are required for Gemini The request does not include gcp_credentials. | Add gcp_credentials. |
| InvalidArgument (400) | Older third-party endpoint deploy: resources cannot be specified for third-party endpoints, autoscaling cannot be specified for third-party endpoints, deployment_mode cannot be specified for third-party endpoints or vllm_args cannot be specified for third-party endpoints These settings apply only to models that the service runs itself. | Remove the field that the message names. |
| Internal (500) / InvalidArgument (400) | Older third-party endpoint URL. Deploy (500): third-party endpoint deployment failed: failed to parse URL: URL must contain a hostname, third-party endpoint deployment failed: failed to parse URL: invalid URL: … or third-party endpoint deployment failed: failed to parse URL: invalid port: …. Update (400): URL must contain a hostname, invalid URL: … or invalid port: …. The URL has no scheme or host, cannot be read, or has an invalid port. Despite the 500 code on deploy, the input is the cause. | Use a full URL such as https://api.openai.com. |
| Internal (500) | Older third-party endpoint (AWS Bedrock). Deploy: third-party endpoint deployment failed: failed to create ConfigMap: region "…" does not match bearer token region "…", third-party endpoint deployment failed: failed to create ConfigMap: region "…" does not match Bedrock URL region "…" or third-party endpoint deployment failed: failed to create ConfigMap: bearer token region "…" does not match Bedrock URL region "…". Update: the same texts starting with failed to update ConfigMap: instead. The region that you gave, the region in the bearer token, and the region in the URL disagree. | Use the same AWS region everywhere, or leave region empty. |
| Internal (500) / FailedPrecondition (400) | Older third-party endpoint with secret_catalog_ref. Deploy (500): third-party endpoint deployment failed: rpc error: code = FailedPrecondition desc = failed to resolve secret credentials: …. Update (400): failed to resolve secret credentials: …. … is one of the following: secret entry name is required, resolve secret service ref "…": get secret service token: …, resolve secret service ref "…": build getSecret request: …, resolve secret service ref "…": getSecret request failed: …, resolve secret service ref "…": read getSecret response: …, resolve secret service ref "…": secret service entry not found: …, resolve secret service ref "…": getSecret returned HTTP …: …, resolve secret service ref "…": decode getSecret response: …, resolve secret service ref "…": getSecret returned empty values_string for "…", map secret service values for "…": secret service values_string must include apiKey (or api_key/key/API_KEY), map secret service values for "…": secret service credentials are not supported for provider …, secret catalog client is not configured: unable to resolve secret catalog ref, catalog ID is required, resolve secret catalog ref "…": build getSecret request: … (the text after the colon can also be marshal getSecret request: …, getSecret request failed: …, read getSecret response: …, secret catalog entry not found: …, getSecret returned HTTP …: …, decode getSecret response: …, or getSecret returned empty valuesString for "…"), map secret catalog values for "…": secret catalog valuesString must include apiKey (or api_key/key/API_KEY), map secret catalog values for "…": secret catalog credentials are not supported for provider …, or the text from the cluster for storing the credential. When the clean-up also fails, the deploy text is third-party endpoint deployment failed: failed to resolve secret credentials: … followed by a new line and rollback failed: …. On deploy, the service removes again what it already stored, unless that clean-up fails. On update, the new settings are already saved, and the service continues to try to read the credential. This message also appears in AI Gateway Endpoints. |
Verify that the stored secret exists, that you can read it, and that it has a non-empty value under a key named apiKey, api_key, key, or API_KEY. For token or HTTP errors, Try again later or Ask your administrator. |
| Internal (500) | Older third-party endpoint deploy: third-party endpoint deployment failed: failed to create ConfigMap: …, third-party endpoint deployment failed: failed to create Secret: …, third-party endpoint deployment failed: failed to create Secret: unsupported provider type: … (… is a number), either Secret text followed by a new line and rollback failed: …, or third-party endpoint deployment failed: failed to generate endpoint CRN: invalid CRN format …, expected 6 tokens got … The deployment cannot be stored, the provider type is unknown (a number that is not one of the listed providers), or the service is not configured correctly. |
Verify that provider_type is one of the listed names. Otherwise, Try again later. If the error persists, Ask your administrator. |
| InvalidArgument (400) | Older third-party endpoint update: cannot change a third-party endpoint's source to a different source kind; delete and recreate the endpoint instead The update tries to change the source kind of the endpoint, which is not allowed. | Retrying will not help. Delete the endpoint, and create a new one. |
| Internal (500) | Older third-party endpoint update: failed to update ConfigMap: …, failed to update credential Secret: … (also failed to update credential Secret: unsupported provider type: …), failed to re-read updated ConfigMap: …, ConfigMap …/…-tp-config not found immediately after being written, failed to extract endpoint config from updated ConfigMap: …, failed to update Backend: …, failed to update BackendTLSPolicy: …, failed to update BackendSecurityPolicy: …, failed to update AIServiceBackend: … or failed to update AIGatewayRoute: … Saving or applying the new settings failed. Part of the update might already be saved. | Verify provider_type and send the same update again. If the error persists, Ask your administrator. |
| Internal (500) | Older third-party endpoint update with rate_limit: failed to sync rate_limit_config on ConfigMap: …, failed to apply rate limit: invalid rate_limit: … (… is request_rate.per_user.limit must be positive, got …, request_rate.per_group.limit must be positive, got …, token_budget.per_user.limit must be positive, got …, token_budget.per_group.limit must be positive, got … or rate limit config requires … BackendTrafficPolicy rules, exceeding the 128-rule Envoy Gateway limit; reduce RATELIMIT_PER_GROUP_BUCKET_COUNT or avoid combining per_group on both request_rate and token_budget), or failed to apply rate limit: … (… is clear rate limit rules on third-party BTP: …, converge cors-only route SecurityPolicy for third-party: …, delete rate-limit SecurityPolicy for third-party: …, create BackendTrafficPolicy for third-party: … or create SecurityPolicy for third-party rate limit: …). For invalid rate_limit, a limit is zero or negative while another limit is positive, or the combination needs too many rules. The invalid values are already stored. When every limit is zero or negative, no message is displayed and the rate limit is removed. This message also appears in Deployment Settings. |
Use positive limits for every scope that you set, and do not use per_group on both request_rate and token_budget. Then send the update again. For other texts, Try again. If the error persists, Ask your administrator. |
| Unknown (500) / Internal (500) | v1 PATCH of an older third-party endpoint: ConfigMap data is nil, failed to read credential Secret: …, failed to read Bedrock credentials: aws_access_key_id missing from credentials file or failed to read Bedrock credentials: aws_secret_access_key missing from credentials file The stored settings or credentials of the deployment are damaged or cannot be read. A v1 PATCH cannot change the provider settings of such a deployment. Use POST /api/v1alpha1/updateEndpoint. |
For "failed to read credential Secret", Try again later. For the other texts, Retrying will not help. Ask your administrator, or delete and recreate the deployment. |
Deployment settings errors
These messages appear when you set the access control, rate limits, resources, storage, environment variables, or other settings of a model deployment. The following tables list the deployment settings errors:
| Error code | Description | Recommended action |
|---|---|---|
| InvalidArgument (400) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Invalid request. Check your input and try again. (proto: (line 1:…): invalid value for int64 field limit: "…") The Request limit is a number too large for the service to store. The last … is the number as sent, for example "1e+21". Nothing was created or changed. |
Fix the field: enter a realistic limit, for example 100. Then deploy or save again. |
| Internal (500) | Pop-up (title "Failed to create deployment"): Something went wrong on the server. Try again later. (endpoint deployed but rate limit setup failed: invalid rate_limit: request_rate.per_user.limit must be positive, got 0) The Request limit was 0, or a fraction below 1, which rounds down to 0. Despite the title, the deployment was created. It runs without a rate limit, and only the limit was refused. Try again later does not apply: deploying again fails with That name is already in use. (deployment "…" already exists). For more information, see Deploying (Review And Create). | Do not deploy again. Open the deployment from Model deployments, click Edit deployment, and on the Rate limit step enter 1 or more, or leave the field empty for no limit. Then verify the limit in . |
| Internal (500) | Pop-up (title "Failed to create deployment"): Something went wrong on the server. Try again later. (endpoint deployed but rate limit setup failed: failed to upsert rate limit ConfigMap: …) The deployment was created, but the service could not save its rate limit. This happens when the deployment Name contains capital letters or spaces and a Request limit is set. Otherwise, … is a platform error. Deploying again fails with That name is already in use. |
Do not deploy again, because the deployment exists without a limit. Open the deployment, click Edit deployment, set the Request limit on the Rate limit step, and save. Then verify the limit in . If the limit is still missing, Ask your administrator. Next time, give the deployment a lowercase name with dashes instead of spaces. |
| None (pop-up) | Pop-up: Deployment "…" updated. You see this message after you changed the Request limit in Edit, but the limit did not change. If the rate-limit part of an edit fails, the service drops it without a message and saves the rest of the edit. Two Edit cases behave differently from create. A Request limit of 0 removes the existing limit (the review displays 0 / Per second or 0 / Per minute). Clearing the field leaves the old limit in place (the review displays No limit). | After saving, open and verify the Request limit. If it is not what you set, Try again. If it still does not change, Ask your administrator. To remove a limit in Edit, enter 0. Clearing the field does not remove the limit. |
| Error code | Description | Recommended action |
|---|---|---|
| None (page message) | Red box on the page (Model builder step): No cluster node has enough GPUs of the required type for this model version. The selected NVIDIA NIM model version has optimized profiles, and no GPU node in the cluster has the GPU type and the number of GPUs that any of them needs. The same box also appears while the list of GPU nodes is still loading, and when the list failed to load. Next stays disabled. | Select another Version or Model with a profile that fits your GPUs. On the edit page, you cannot change the Model and Version of an NVIDIA NIM deployment, so you cannot save the changes until a GPU node fits. Instead, deploy a model that fits as a new model deployment with Deploy model. If the box stays and you expect a fit, Reload the page. If the cluster needs another GPU node, Ask your administrator. |
| None (page message) | Banner (in place of the step's fields): No compatible GPU node is available for the selected model. The model needs a GPU, and no GPU node fits it. Text-generation models always need a GPU, and so do NVIDIA NIM models with GPU profiles. No node fits when none has a GPU, none matches the profiles of the model, or only MIG slices exist for a NIM model. The banner also appears when the node list failed to load. | In the deploy wizard, go back to Model builder and select another model or version. On the edit page, you cannot change the Model, nor the Version of an NVIDIA NIM or Hugging Face model. Instead, deploy a model that fits as a new model deployment with Deploy model. If you know that suitable nodes exist, Reload the page. To add a node, Ask your administrator. |
| None (page message) | Banner (in place of the step's fields): No compatible node is available for the selected model. The model does not need a GPU, and the cluster reports no node without a GPU. The banner also appears when the node list failed to load. | Reload the page. If the banner persists, Ask your administrator to check the worker nodes of the cluster. |
| None (page message) | Banner (blue, above the node list): for example This model requires 4 H200 GPUs. or This model requires 4 GPUs. The number and the GPU type change, and GPU has no s for 1. This message is not an error. The number is the smallest GPU count among the NVIDIA NIM profiles that fit the selected node (among all profiles before you select one). The form checks the GPU field against this number. | Keep the GPU count at or above the displayed number. The introduction of the step says not to change the GPU allocation of optimized models. |
| None (form check) | Under the field (GPU or Number of slices): Text generating models require at least 1 GPU. The model is a text-generation model, and the GPU count is empty or 0. The message is displayed immediately, before you type anything. | Fix the field: enter 1 or more. |
| None (form check) | Under the field (GPU or Number of slices): The minimum number of GPU instances must be equal or greater than …. The … is the smallest GPU count among the NIM profiles that fit the selected node, which is the number in the blue banner. |
Raise the count to at least that number. |
| None (form check) | Below the GPU or Number of slices field: The maximum number of GPU instances must be equal or less than …. The … is the number of GPUs or MIG slices that the selected node offers. One replica cannot use more resources than a single node provides. For an NVIDIA NIM model, the field is pre-filled with the GPU count of its largest profile, so this message is displayed as soon as you select a node. |
Lower the count to the displayed number or less, but not below the number in the blue banner. Alternatively, select a node type with more GPUs. |
| None (form check) | Under the field (CPU): CPU must be at least 1 vCPU. The CPU value is below 1. When you type a smaller number, the field raises it to 1 when you leave the field. Therefore, you normally see this message only in Edit, when the deployment has no CPU request saved and the field displays 0. A saved CPU with a fraction, for example 0.5, displays no message. The field stays empty and Next is disabled. | Fix the field: enter 1 or more. |
| None (form check) | Under the field (CPU): CPU cannot exceed … vCPU. The … is 90% of the CPU that the selected node type makes available, rounded down: 14 when it offers 16 vCPU. The request must leave room on the node, or the replica might never be scheduled. |
Lower CPU to the displayed number or less, or select a larger node type. |
| None (form check) | Under the field (Memory): Memory must be at least 2 GiB. The memory value is below 2. The minimum of the field is 2, so you are most likely to see this message in Edit, when the saved memory is below 2 GiB (for example 512 MiB set through the API). | Fix the field: enter 2 or more. |
| None (form check) | Under the field (Memory): Memory cannot exceed … GiB. The … is 90% of the memory that the selected node type makes available, in whole GiB, rounded down: 230 when it offers 256 GiB. |
Lower Memory to the displayed number or less, or select a larger node type. |
| None (form check) | Under the field (Autoscale Range > Maximum): Maximum replicas must be greater than or equal to minimum replicas. Maximum is below Minimum. Equal values are allowed. | Set Maximum to at least Minimum. |
| None (disabled button) | Disabled button: The Next button is disabled and no message is displayed. A required value is missing: no node is selected under Instance type, GPU model or GPU model / MIG slice, CPU or Memory is empty, or Minimum, Maximum or Target metric value was cleared. In Edit, this also happens when the saved CPU has a fraction, for example 1.5 (the CPU field stays empty), when the deployment has no GPU (select an Instance type again), and when its saved GPU no longer matches any node in the list. | Fill in every field marked *, select a node, and enter a Target metric value. In Edit, select one of the listed nodes again. |
| InvalidArgument (400) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Invalid request. Check your input and try again. (cpu request specified is less than minimum cpu needed to deploy Service) The CPU is below the platform minimum. The form accepts 1 vCPU, so you see this message only when your administrator has set a higher minimum. | Raise CPU, and deploy or save again. Ask your administrator what minimum is set. |
| InvalidArgument (400) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Invalid request. Check your input and try again. (memory request specified is less than minimum memory needed to deploy Service) The memory is below the platform minimum. The form accepts 2 GiB, so you see this message only when your administrator has set a higher minimum. | Raise Memory, and deploy or save again. Ask your administrator what minimum is set. |
| InvalidArgument (400) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Invalid request. Check your input and try again. (tensor parallelism in model metadata (…) is higher than requested number of GPUs (…)) An NVIDIA NIM text-generation model needs more GPUs than you requested. The first number is what it needs, and the second number is what you requested. The service always checks against one fixed profile of the model version, which might not be the profile behind the blue banner. For a model with several profiles, the service can therefore ask for more GPUs than the form required. | Set GPU to at least the first number in the message, and deploy or save again. If no node has that many GPUs, select another model version. On the edit page, you cannot change the Version of an NVIDIA NIM deployment. Instead, deploy a version that fits as a new model deployment with Deploy model. |
| InvalidArgument (400) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Invalid request. Check your input and try again. (gpu request cannot be parsed as a number) The GPU count of an NVIDIA NIM text-generation model has a fraction, for example 1.5. The field accepts fractions, but the service takes only whole GPUs. Nothing was created or changed. | Fix the field: enter a whole number of GPUs and deploy or save again. |
| InvalidArgument (400) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Invalid request. Check your input and try again. (strconv.Atoi: parsing "…": invalid syntax) The … is a value with a fraction, for example 1.5, that you entered in Minimum, Maximum or Target metric value. These fields accept fractions, but the service takes only whole numbers. Nothing was created or changed. |
Fix the field: enter a whole number and deploy or save again. |
| Error code | Description | Recommended action |
|---|---|---|
| None (form check) | Under the field (Variables): Enter a variable name. The row has a value but no name. | Type a name, or remove the row. |
| None (form check) | Under the field (Variables): Use only letters, digits, and underscores, and don’t start the name with a digit. The name has another character, such as -, . or a space, or starts with a digit. |
Rename the variable, for example MY_SETTING instead of my-setting. |
| None (form check) | Under the field (Variables): This variable is set by the platform and can’t be overridden. The name is one that Cloudera AI Gateway and Inference sets itself: HF_TOKEN, NGC_API_KEY, NIM_MODEL_PROFILE, NIM_CACHE_PATH, NIM_PEFT_SOURCE, PYTHONHASHSEED, LMCACHE_USE_EXPERIMENTAL or LMCACHE_CONFIG_FILE (exact case). |
Remove the row, or use another name. The platform sets these variables itself. If a model cannot download, Ask your administrator. |
| None (form check) | Under the field (Variables): Each variable can be set only once. Two or more rows have the same name. The message is displayed on each of them. | Retain one row per variable. |
| None (form check) | Under the field (Values): References like $(NAME) aren’t allowed. To use a literal $(, write ${}$(. The value contains a reference such as $(HOME), which the service would replace with the value of another variable. |
Write $$(HOME) if you mean the literal text $(HOME). |
| Error code | Description | Recommended action |
|---|---|---|
| Unknown (500) / Internal (500) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Something went wrong on the server. Try again later. (invalid input: EOF found when expecting closing quote). Other texts in the brackets: invalid input: EOF found after escape character, invalid input: Kubernetes env var expansion "$(…)"isnotallowed;escapewith'$$' (e.g., ${}$(VAR)), invalid vllm argument, JSON value exceeds maximum allowed size of 1MB and invalid vllm argument, JSON value must be quoted in single quotes and it has to be a valid JSON object: …. The vLLM Arguments text cannot be read. A quote is not closed, the text ends with a backslash, it contains a $(…) reference, or a value that starts with { or [ is not valid JSON or is over 1MB. You get Unknown (500) on deploy and Internal (500) on save. Despite the headline, this is a problem with the text you entered. |
Retrying will not help. Fix the field: close every quote, put JSON values in single quotes (for example --flag '{"key": "value"}'), and write $$( for a literal $(. Then deploy or save again. |
| FailedPrecondition (400) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Invalid request. Check your input and try again. (datalake client not configured) The Enable I/O Logging setting is enabled. The form always sends the logs to the data lake, and data lake logging is not available on Anywhere Cloud. This happens whatever you enter in Datalake CRN and Path, although the headline asks you to check your input. | Retrying will not help. Disable the Enable I/O Logging setting and deploy or save again. Ask your administrator about inference logging on this cluster. |
| InvalidArgument (400) | Pop-up (title "Failed to update deployment"): Invalid request. Check your input and try again. (proto: (line 1:…): error parsing "predictor_datalake_config", oneof serving.InferenceLoggingConfig.predictor_config is already set) In Edit, you changed the Datalake CRN or Path of a deployment that already logs to S3, Azure or Google Cloud storage (for example one created through the API). The form adds a data lake destination next to the existing one, and the service refuses the request. Nothing was changed. | Retrying will not help. Leave the Logging settings as they were, or disable the Enable I/O Logging setting. To change where the logs go, use the API or Ask your administrator. |
| Unknown (500) | Pop-up (title "Failed to update deployment"): Something went wrong on the server. Try again later. (…) Here, … is a platform message about the logging settings of the deployment. You disabled the Enable I/O Logging setting in Edit, and the platform could not remove the logging settings of the deployment. |
Try again. If the problem happens again, send the message to your administrator. |
| Error code | Description | Recommended action |
|---|---|---|
| None (form check) | Under the tag list: Key and value must be 1–63 characters, start and end with a letter or number ([a-zA-Z0-9-_.] between); value cannot contain “@”. A tag breaks the rules, and both boxes of that row turn red. A key or value of 1 character is refused, although the message says 1. A row with a value needs a key, and the value can be empty. Only letters, digits, -, _ and . are allowed. |
Use 2 to 63 characters that start and end with a letter or digit, or leave the value empty. Remove @. Write an e-mail address as user_at_domain.com. |
| None (disabled button) | Disabled button: The Next button is disabled, with no message and no red box. Two tag rows have the same key. | Rename or remove the duplicate tag. |
| Error code | Description | Recommended action |
|---|---|---|
| Unimplemented (501) | Permission calls: authorizer functionality is not available Cloudera AI Gateway and Inference returns this message for every list, grant and revoke call on Anywhere Cloud (GET /api/v1/deployments/{id}/permissions, POST …/permissions:grant, POST …/permissions:revoke, and POST /api/v1alpha1/listPermissions, grantPermission, revokePermission). Per-deployment permissions are not available on Anywhere Cloud, and the pages do not show them there. On v1 grant and revoke, the checks in the next rows run first. The service checks initialPermissions sent with a v1 create in the same way, but it does not apply them on Anywhere Cloud. |
Retrying will not help. Ask your administrator how access to Cloudera AI Gateway and Inference is managed on your platform. |
| InvalidArgument (400) | Permission calls (v1 grant, and initialPermissions on v1 create): permission is required or permission.access_type is required (on create: initial_permissions[…].access_type is required). The … is the position in the list, starting from 0. The grant has no permission, no access type, or an access type name that the service does not know. The service drops unknown names without a warning, so the type counts as missing. |
Send permission with accessType set to ACCESS_TYPE_VIEW, ACCESS_TYPE_ACCESS or ACCESS_TYPE_MANAGE. |
| InvalidArgument (400) | Permission calls (v1 grant, revoke and create): permission.subject is required and must name a user, a group or a well_known subject (also subject is required… on revoke, initial_permissions[…].subject is required… on create), or … must not be empty for an empty user or group, for example permission.subject.user must not be empty The request does not say who gets or loses the permission. | Set exactly one of user, group or wellKnown, and do not leave it empty. |
| InvalidArgument (400) | Permission calls (v1): … must not be a name in braces, which is reserved: use well_known for the owner, the ML user and admin groups and all users or … must not be "public", which is reserved: use well_known WELL_KNOWN_SUBJECT_ALL_USERS on Anywhere Cloud The … is the field, for example permission.subject.group. A name in curly braces, such as {OWNER}, or the group public (any case) stands for a built-in subject. |
Use wellKnown instead, for example WELL_KNOWN_SUBJECT_ALL_USERS. |
| InvalidArgument (400) | Permission calls (v1): … must be a defined well-known subject or … WELL_KNOWN_SUBJECT_ML_USER_GROUP is not available on this platform: use WELL_KNOWN_SUBJECT_ALL_USERS The … is the field, for example permission.subject.well_known. The built-in subject is WELL_KNOWN_SUBJECT_UNSPECIFIED or a number with no meaning, or it is the ML user group, which Anywhere Cloud does not have. The service drops an unknown subject name without a warning, and you get the subject is required message in the previous row instead. |
Use a defined built-in subject. On Anywhere Cloud, that is WELL_KNOWN_SUBJECT_ALL_USERS, which the second message names. |
| InvalidArgument (400) | Create with initial permissions: initial_permissions[…].subject.well_known is the deployment owner, whose access cannot be changed or initial_permissions[…].subject.well_known is the ML admin group, whose access cannot be changed The owner and the administrators always have full access. Nothing was created. | Remove that entry from initialPermissions. |
| InvalidArgument (400) | User and group search (GET /api/v1/ldap/users, GET /api/v1/ldap/groups): invalid LDAP query: query is required, invalid LDAP query: query is … characters, the minimum is …, invalid LDAP query: query is … characters, the maximum is 128 or invalid LDAP query: query contains a control character The query is missing, too short (the second … is the minimum), longer than 128 characters, or has a tab, line break or other control character inside it. The service removes spaces, tabs and line breaks at the start and end before the check. |
Send a query of at least the minimum length that the message gives and at most 128 characters, without control characters. |
| FailedPrecondition (400) | User and group search: the platform LDAP directory is not configured for this instance User and group search is not set up for this Cloudera AI Gateway and Inference instance. | Retrying will not help. Ask your administrator to set up the directory lookup. |
| Unavailable (503) | User and group search: too many LDAP users searches in progress; retry in a few moments or too many LDAP groups searches in progress; retry in a few moments The directory is busy with other searches. | Wait a few seconds and Try again. |
| DeadlineExceeded (504) | User and group search: LDAP users search timed out; narrow the query or LDAP groups search timed out; narrow the query The user directory did not answer within the time allowed for one search. That time covers connecting to the directory, signing in to it and searching. | Try again with a longer, more specific query. If the problem happens again, Ask your administrator: the user directory might be slow or hard to reach. |
| Unavailable (503) | User and group search: the platform LDAP directory is unavailable Cloudera AI Gateway and Inference could not reach, sign in to or search the user directory. | Try again later. If the problem happens again, Ask your administrator. |
| InvalidArgument (400) | Rate limit (v1 create and update, and POST /api/v1alpha1/setEndpointRateLimit): invalid rate_limit: request_rate.per_user.limit must be positive, got … The same message exists for request_rate.per_group, token_budget.per_user and token_budget.per_group. A limit is 0 or below, or missing from an entry. Nothing was changed. On Anywhere Cloud, v1 create and update first refuse any per_group entry with per_group rate limits are not supported on this platform (FailedPrecondition (400)). Therefore, on Anywhere Cloud, the two per_group messages come back as this error only from setEndpointRateLimit. |
Set each limit to 1 or more. To remove rate limiting instead, send an empty rateLimit (on v1alpha1: rate_limit). On a v1 update, also list spec.rateLimit in updateMask (in camelCase). The service refuses spec.rate_limit. |
| InvalidArgument (400) | Rate limit: invalid rate_limit: token_budget rate limiting is not supported for model task "…": this model type does not produce token usage metrics The … is the task of the model, for example INFERENCE or CLASSIFICATION. Token budgets work only for text generation, text-to-text generation, image-and-text-to-text, embedding and reranking models. |
Remove tokenBudget (v1alpha1: token_budget) and use requestRate (v1alpha1: request_rate) instead. |
| InvalidArgument (400) | Rate limit: invalid rate_limit: rate limit config requires … BackendTrafficPolicy rules, exceeding the 128-rule Envoy Gateway limit; reduce RATELIMIT_PER_GROUP_BUCKET_COUNT or avoid combining per_group on both request_rate and token_budget With the default settings, this means per_group is set on both request_rate and token_budget. On Anywhere Cloud, only POST /api/v1alpha1/setEndpointRateLimit returns it like this, because v1 refuses per_group first (next row). POST /api/v1alpha1/deployEndpoint returns it inside endpoint deployed but rate limit setup failed: …, and POST /api/v1alpha1/updateEndpoint does not report it for a model deployment. |
Use per_user limits instead. On Anywhere Cloud, limits per user group have no effect (see the next row), so changing RATELIMIT_PER_GROUP_BUCKET_COUNT does not help. |
| FailedPrecondition (400) | Rate limit (v1 create and update): per_group rate limits are not supported on this platform On Anywhere Cloud, limits per user group are not available. The /api/v1alpha1/ calls do not make this check. They accept per_group, but on Anywhere Cloud such a limit has no effect. |
Retrying will not help. Use perUser limits. |
| Internal (500) | Rate limit (POST /api/v1alpha1/deployEndpoint and POST /api/v1/deployments): endpoint deployed but rate limit setup failed: … The deployment was created and runs without the limit. On /api/v1alpha1/deployEndpoint, the … can be one of the invalid rate_limit: … messages in the previous rows. Scripts can cause the token-budget and rule-count variants, which the pages never send. For the others, see Rate Limits. On v1, create checks the limit before it creates anything, so there the … is only a platform error such as failed to upsert rate limit ConfigMap: …. On /api/v1alpha1/deployEndpoint, that ConfigMap message also comes back every time the name contains capital letters or spaces. |
Do not deploy again, because the deployment exists. If … says that the limit is invalid, correct it first. Then set the limit with POST /api/v1alpha1/setEndpointRateLimit (with the name in lowercase and spaces replaced by dashes), or with PATCH /api/v1/deployments/{id} that lists spec.rateLimit in updateMask (in camelCase). The service refuses spec.rate_limit. POST /api/v1alpha1/updateEndpoint does not report a failed rate limit for a model deployment, so do not rely on it. |
| Internal (500) | Rate limit: failed to set rate limit: … (for example failed to set rate limit: failed to upsert rate limit ConfigMap: …), failed to delete rate limit: …, failed to get rate limit policy: … or failed to parse rate limit policy: … (POST /api/v1alpha1/getEndpointRateLimit), failed to fetch BackendTrafficPolicy: … or failed to get quota usage: … (POST /api/v1alpha1/getQuotaUsage), failed to sync rate_limit_config on ConfigMap: … or failed to apply rate limit: … The service cannot save, remove or read the rate limit because of a platform problem. One exception: when you update an older third-party endpoint with POST /api/v1alpha1/updateEndpoint, failed to apply rate limit: … can also contain an invalid rate_limit: … message from the previous rows. A second exception: setEndpointRateLimit with a name that contains capital letters or spaces always fails with failed to set rate limit: failed to upsert rate limit ConfigMap: …. This error also appears in Deployment wizard and edit errors. |
Try again. If the problem happens again, Ask your administrator. Retrying will not help when … contains "invalid rate_limit": correct the limit first. Retrying also does not help when the name has capital letters or spaces: send it in lowercase with spaces replaced by dashes. |
| Internal (500) / NotFound (404) / FailedPrecondition (400) | Rate limit (PATCH /api/v1/deployments/{id}): the spec was updated but the rate limit was not: …; repeat the request to apply it The update changed other fields and the rate limit together. The service saved the other changes, but not the rate limit. The code is that of the rate-limit failure. |
Repeat the same request. Retrying will not help when … is "third-party rate limiting is not enabled": remove spec.rateLimit from updateMask. |
| NotFound (404) | Rate limit: endpoint …/… not found (namespace and name) The service could not read the deployment when it set the rate limit: the name is wrong, or the deployment was just deleted. Any other failure to read the deployment gets the same message. | Verify that the deployment exists and that the name is correct, and repeat the request. |
| InvalidArgument (400) | Rate limit (/api/v1alpha1/ rate-limit calls): name is required or rate_limit is required (on Anywhere Cloud; elsewhere also namespace is required) A required field is missing. |
Fill in the field named in the message. |
| FailedPrecondition (400) / InvalidArgument (400) | Rate limit on an older third-party endpoint: third-party rate limiting is not enabled (FailedPrecondition (400), POST /api/v1alpha1/setEndpointRateLimit and a v1 PATCH that changes only spec.rateLimit) or third-party rate limiting is not enabled; remove rate_limit from the request (InvalidArgument (400), deploy and update). Rate limits for older third-party endpoints are disabled on this installation. Older third-party endpoints are also displayed in the Endpoints list. |
Remove the rate limit, or Ask your administrator to enable third-party rate limiting. |
| InvalidArgument (400) | Resources: quantities must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$', unable to parse numeric part of quantity or unable to parse quantity's suffix req_cpu, req_memory or num_gpus (on v1: cpu or memory) is not a valid quantity, for example "two" or "4GB". The message does not say which field. For NVIDIA NIM text-generation models, a num_gpus that is not a whole number gets gpu request cannot be parsed as a number instead. The cluster resources calls return the same three messages as Unknown (500). For more information, see Model deployment errors. |
Use quantity syntax, for example "2" or "500m" for CPU, "8Gi" for memory and "1" for GPUs. |
| InvalidArgument (400) | Autoscaling (v1alpha1): strconv.Atoi: parsing "…": invalid syntax or strconv.Atoi: parsing "…": value out of range min_replicas, max_replicas or the autoscaling target is not a whole number, for example "1.5". The … is the value sent. The deploy wizard can produce this message too, when you type a fraction into Minimum, Maximum or Target metric value. For more information, see Resources And Quota. |
Send whole numbers, for example "1" or "2". |
| InvalidArgument (400) | Autoscaling: negative min_replicas value, negative max_replicas value or max_replicas value is less than min_replicas When you leave out max_replicas, its value is 1, so the service refuses a min_replicas of 2 alone. | Set min_replicas to 0 or more and max_replicas to at least min_replicas (on v1: minReplicas and maxReplicas). |
| InvalidArgument (400) | Autoscaling (v1alpha1): the KPA autoscaler currently only supports the following metrics: [rps concurrency] The autoscaling metric is not exactly rps or concurrency. The API reference describes the values as RPS and Concurrency, but the service accepts only the lowercase spelling. |
Set the metric to rps or concurrency (lowercase). |
| InvalidArgument (400) | Secondary networks: secondary_network: network_name must not be empty or secondary_network: network_name "…" must be in "namespace/name" format with non-empty segments A secondary_networks entry has no network_name, or the name is not exactly two non-empty parts separated by one /, for example "mynet", "/mynet" or "a/b/c". |
Set network_name (on v1: networkName) as <namespace>/<name>. Ask your administrator for the available networks. |
| InvalidArgument (400) | Secondary networks: secondary_network: resource_name must not be empty, secondary_network: resource_name "…" must be a qualified extended resource (e.g. "nvidia.com/sriovlegacy"), secondary_network: resource_name "…" is not a valid extended resource name: …, secondary_network: quantity must be > 0 or secondary_network: duplicate resource_name "…" — use a single selection with the combined quantity A secondary_networks entry has no resource_name, a name without a domain prefix (for example sriovlegacy), an invalid name, a quantity of 0 (v1alpha1 only, because v1 refuses it earlier with its own message), or the same resource_name as another entry. |
Use a full resource name (resource_name, on v1: resourceName) such as nvidia.com/sriovlegacy, a quantity of 1 or more, and one entry per resource. Ask your administrator for the exact name. |
| InvalidArgument (400) | NVIDIA NIM GPUs (v1alpha1): gpu request cannot be parsed as a number The num_gpus value is not a whole number, for example "1.5", for a NIM text-generation model. |
Send a whole number, for example num_gpus: "2". |
| InvalidArgument (400) | NVIDIA NIM GPUs: NIM profiles requiring a full GPU are incompatible with MIG slice selection A NIM text-generation model was requested on a MIG slice: gpu_resource_name (on v1: gpuResourceName) starts with nvidia.com/mig-. |
Retrying will not help. Request full GPUs: leave out gpu_resource_name, or select a model that can run on a MIG slice. |
| InvalidArgument (400) | GPUs: llm deployments require at least one GPU The request asks for no GPU for a text-generation model or a Mistral model: num_gpus is missing or empty, or on v1 gpuCount is 0 or missing. On v1alpha1, this check does not catch a num_gpus of "0". |
Request 1 or more GPUs. |
| InvalidArgument (400) | Instance type: Instance type cannot be specified for private cloud The request sets instance_type, which this platform does not use. | Leave out instance_type. |
| InvalidArgument (400) | Environment variables: "…" is not a valid environment variable name: a valid C identifier must start with alphabetic character or '_', followed by a string of alphanumeric characters or '_' (e.g. 'my_name', or 'MY_NAME', or 'MyName', regex used for validation is '[A-Za-z_][A-Za-z0-9_]*') The … is the name. |
Use only letters, digits and _, and do not start the name with a digit. |
| InvalidArgument (400) | Environment variables: environment variable … is reserved and set by the platform The name is one of the reserved names listed in Environment Variables. | Remove the variable. |
| InvalidArgument (400) | Environment variables: duplicate environment variable … The same name is displayed twice (names are case-sensitive). | Keep one entry per name. |
| InvalidArgument (400) | Environment variables: environment variable …: Kubernetes env var expansion "$(…)"isnotallowed;escapewith'$$' (e.g., ${}$(VAR)) The value of the variable contains a $(…) reference, and this form of reference is not allowed. |
Write $$( for a literal $(. |
| InvalidArgument (400) | Labels (tags): length of Key and Value must be less than 63 characters or label value cannot contain '@', try encoding email addresses as user_at_domain.com A key or value is over 63 characters (63 is allowed), or the value contains @. |
Shorten the label, and write e-mail addresses as user_at_domain.com. |
| InvalidArgument (400) | Labels (tags): label key does not follow required pattern. Label key must start and end with alphanumerics and can have the following characters in between: [a-zA-Z0-9-*.] A 1-character key or value is also refused. | Use 2 to 63 letters, digits, -, _ or ., starting and ending with a letter or digit. A value can also be empty. |
| InvalidArgument (400) | Storage: pv_size is only supported on private cloud deployments or pv_size must be a non-negative integer The request sets pv_size (on v1: pvSizeGib). On Anywhere Cloud, persistent volume storage is not available. | Leave out pv_size (pvSizeGib). |
| InvalidArgument (400) | Adapters: number of adapters (…) exceeds maximum of … You sent more adapters than allowed (10 unless your administrator changed the limit). | Remove adapters until you are within the limit in the message. |
| InvalidArgument (400) | Adapters: adapter …: service name must be specified, adapter …: service name cannot start or end with a "-" character, adapter …: service name must not exceed 36 characters or adapter …: service name must consist of alphanumerics, spaces, or "-" The … is the adapter name. service name means the name of the adapter. The service lowercases the name and replaces spaces with -. Then the name must be 2 to 36 lowercase letters, digits and -, and must not start or end with -. |
Rename the adapter, for example my-lora instead of my_lora. |
| InvalidArgument (400) | Adapters: duplicate adapter name: … Two adapters have exactly the same name. | Give each adapter its own name. |
| InvalidArgument (400) | Adapters: adapter …: unsupported adapter type … The service supports only LoRA adapters. | Set type to LORA (on v1: ADAPTER_TYPE_LORA) or leave it out. |
| InvalidArgument (400) | Adapters: adapter …: hf_source.model_id is required, adapter …: url_source.url is required, adapter …: ngc_source.model_id is required, adapter …: object_store_source.path is required, adapter …: registry source is not supported in this release or adapter …: source must be specified The location of the adapter is missing or uses the registry. url_source and the registry source exist only on v1alpha1. | Give each adapter one source with its location, for example object_store_source.path. |
| InvalidArgument (400) | Adapters on Anywhere Cloud: model location "…" is outside the storage bucket attached to this cluster; use s3://…/<prefix> or model location "…" has no object key prefix inside the bucket An adapter given as a full s3:// or s3a:// path must point into the storage bucket attached to the cluster, in a folder inside it. The second … is that bucket. This error also appears in Models And Registry. |
Copy the adapter into a folder of the attached bucket and use that path, or give a folder name under peft-adapters/ of the registry location of the model. |
| Internal (500) | Adapters: invalid artifact URI format: … The service could not turn an adapter path given as a folder name into a full location, because the location of the model version in the registry has an unexpected form. | Retrying will not help. Give the adapter a full s3:// path. If that is not possible, Ask your administrator. |
| FailedPrecondition (400) | Inference logging: environments client not configured: cannot resolve S3 region S3 logging has no region, and Cloudera AI Gateway and Inference cannot look it up on Anywhere Cloud. | Set region in the S3 logging settings. |
| InvalidArgument (400) | Inference logging: no known predictor logging config defined in loggingConfig Logging is enabled without a destination for the requests to the model. | Add a predictor destination (S3, Azure Blob or Google Cloud Storage), or set enabled: false. The data lake is not available on Anywhere Cloud. |
| InvalidArgument (400) | Inference logging (update): the logging destination changed, so its credentials are not carried over: set … The … lists the missing credential fields, for example access_key_id, secret_access_key. The service retains stored credentials only for the old destination. This error also appears on PATCH /api/v1/config/inference-logging. |
Add the fields listed in the message. |
| Internal (500) / Unknown (500) | Inference logging: The text comes from the platform, for example secrets "…-predictor-inference-logging-config" is forbidden: exceeded quota: … or serviceaccounts "…-predictor-logger-sa" is forbidden: …. The service could not store or remove the logging credentials. You get Internal (500) on create and Unknown (500) on update. The update variant also appears on the Edit deployment page. For more information, see Advanced Settings: vLLM Arguments And Logging. | Try again. If the problem happens again, leave logging disabled and send the message to your administrator. A quota message means that your administrator must raise the quota. |
| InvalidArgument (400) | Service settings (PATCH /api/v1/config/features, PATCH /api/v1/config/inference-logging): update_mask is required and must name at least one field, update_mask names a field that does not exist on UpdateFeaturesRequest: … (or … on UpdateInferenceLoggingConfigRequest: …; … lists all mask paths), or update_mask names "features.fine_grained_authorization" without a value for it: send the value explicitly (or config.enabled) The update_mask is missing, names a field that does not exist, or names a field without a value. |
Name each field you change in updateMask, in camelCase (for example features.fineGrainedAuthorization), separated by commas without spaces, and send a value for it. |
| Internal (500) | Service settings (PATCH /api/v1/config/features, POST /api/v1alpha1/toggleFeatures): Failed to set fine grained authorization enabled On Anywhere Cloud, every such call fails, also when you disable the setting. |
Retrying will not help. Fine-grained authorization cannot be changed on Anywhere Cloud. Leave the setting as it is. |
| InvalidArgument (400) | Service settings (POST /api/v1alpha1/toggleFeatures): Payload logging is not supported The request sets payloadLogging to true. |
Retrying will not help. Set payloadLogging to false or leave it out. Use inference logging instead. |
| InvalidArgument (400) | Service settings (POST /api/updateInferenceLoggingConfig): an inference logging config is required The request has no inferenceLoggingConfig. |
Send the full inference logging configuration in inferenceLoggingConfig. |
| Unknown (500) / Internal (500) | Service settings (GET /api/v1/service, POST /api/describeService, PATCH /api/v1/config/features, PATCH /api/v1/config/inference-logging, POST /api/updateInferenceLoggingConfig): The text comes from the platform, for example a forbidden or connection message, or the API service is not permitted to complete the Kubernetes request. Cloudera AI Gateway and Inference could not read or save its own settings. Reading the list of model runtimes fails with Internal (500). The other reads and the saves fail with Unknown (500). |
Try again. If the problem happens again, send the message to your administrator. |
AI gateway endpoint errors
These messages appear when you create, open, or delete AI gateway endpoints, or add or delete model routes. The following tables list the AI gateway endpoint errors:
| Error code | Description | Recommended action |
|---|---|---|
| None (page message) | Page: Failed to load endpoints. with Something went wrong reaching the service. Check your connection and try again. and a Retry button. The list of endpoints cannot be fetched. The text is the same whatever the cause (connection, missing permission, or a server problem), and the page does not show the reason. The list refreshes itself every 15 seconds. If a refresh fails, this message replaces the table. The Create endpoint button is hidden while the message is displayed. Also in Sign-in and access errors. | Click Retry. If the problem happens again, Reload the page and Sign in again. If other people see it too, the service might be down: Ask your administrator. |
| None (status: Deploying) | Status badge: Deploying (on hover: ENDPOINT_STATE_INITIALIZING) or Scaling (on hover: ENDPOINT_STATE_UPDATING). The gateway has not finished setting up the routing of the endpoint. Scaling means that the routing exists but is not active yet. On the endpoint page, the header displays the same badge, and the Status card displays these states as Initializing and Updating. No reason is displayed anywhere on the page. | Wait for the next refresh. A working endpoint changes to Ready. If it stays Deploying or Scaling, Ask your administrator and give them the endpoint name. |
| Error code | Description | Recommended action |
|---|---|---|
| None (page message) | Red box on the page: Failed to load endpoint. with Something went wrong reaching the service. Check your connection and try again. and a Retry button. The details of the endpoint cannot be fetched. There is no separate not found or access denied page. A wrong or old link, a deleted endpoint, missing access, and a server problem all show this box, and the page does not show the reason. stays disabled while the box is displayed. Also in Sign-in and access errors. | Click Retry. If the problem happens again, click Back to Endpoints and verify that the endpoint is listed. If it is not listed, the endpoint was deleted. If it is listed, Reload the page and Ask your administrator to check your access. |
| None (no message) | Status card: Provider reads Unknown and Model Routes reads 0 of 15 although the endpoint has routes, or Model Routes displays a count that does not match the Model routes tab. These two values come from the endpoint list. When that part cannot be loaded, the card displays Unknown and 0. When you open the endpoint from the list, the card can retain the count from that list for a few minutes and does not change when you add or delete a route. The page does not say so. The delete confirmation uses the same count, for example Its 0 routes go with it;. | Use the Model routes tab below, which displays the real routes. Reload the page to refresh the summary. |
| Error code | Description | Recommended action |
|---|---|---|
| None (form check) | Under the field: Name is required. (Name, step Endpoint details) The name is empty or contains only spaces. The message is displayed after you type in the field. | Type a name that contains lowercase letters, numbers, and dashes. |
| None (form check) | Under the field: Name must not exceed 36 characters. The name is longer than 36 characters. The service counts the length after it removes the spaces at the start and end and converts each run of spaces to one dash. Also in Deployment wizard and edit errors. | Shorten the name to 36 characters or fewer. |
| None (form check) | Under the field: Name cannot start or end with a dash. The first or last character is a dash. The service removes the spaces at the start and end first, so only a typed dash causes this error. Also in Deployment wizard and edit errors. | Remove the dash at the start or end. |
| None (form check) | Under the field: Use lowercase letters, numbers, and dashes (spaces and capitals are converted). The name contains a character other than an unaccented letter (a–z or A–Z), a number, a dash, or a space (for example _, ., or an accented letter), or it is only one character long. The service converts capitals to lowercase and spaces to dashes for you. Also in Deployment wizard and edit errors. |
Remove the other characters. Use at least two characters. |
| None (no message) | In the field: Base URL keeps showing https://, and the review step displays — in place of the address. The address preview is displayed only for a valid name. If the preview cannot be generated, the page displays nothing about it. | Verify that the name is valid. If the name is valid and the preview stays empty, you can still create the endpoint. Verify the address on the endpoint page afterward. If no address is displayed there either, Ask your administrator. |
| None (disabled button) | Disabled button: Next on step Model routes, with No routes yet and An endpoint with no routes answers nothing. Add at least one before you continue. in the routes area. An endpoint needs at least one route. | Click Add route and add a route. |
| None (disabled button) | Disabled button: Add route, on hover: This endpoint already has the maximum of 15 routes. (step Model routes) You have added 15 routes. Creating the endpoint with 15 routes fails, because the service allows 14. For more information, see the maximum number of Model Routes row under Adding a route. | Remove routes until you have 14 or fewer. Put the remaining routes on a second endpoint. |
| AlreadyExists (409) | Pop-up (title "Failed to create endpoint"): That name is already in use. (AI Gateway Endpoint "…" already exists in namespace "…") An endpoint with this name already exists. The service compares names after it converts capitals to lowercase and spaces to dashes, so My EP and my-ep are the same name. | Go back to Endpoint details and enter another name. Changing the name removes the routes that you added, so add them again. Alternatively, open the existing endpoint and add your routes there. |
| AlreadyExists (409) | Pop-up (title "Failed to create endpoint"): That name is already in use. (a third-party endpoint named "…" already exists in namespace "…") An older third-party endpoint, which is also displayed in the Endpoints list, already uses this name. | Enter another name. If the older endpoint is no longer needed, ask the owner of the endpoint to delete it. After the owner deletes it, its clients get errors. |
| Unavailable (503) | Pop-up (title "Failed to create endpoint"): The service is temporarily unavailable. Try again later. (failed to write ModelRoute rule to AIGatewayRoute: … — the parent Endpoint's routing resources may still be converging; retry in a few moments) … is a technical not found text. The new endpoint was still being set up when the wizard added its first route. The same text can be displayed when you add a route to an endpoint that you created moments ago. See also the is not ready row under Adding a route. |
Wait a few seconds and click Create endpoint again (Try again). If the next attempt says that a name is already in use, see the "AI Gateway Backend "bk-…" already exists" row under Adding a route. If the same message persists, Ask your administrator. |
| Internal (500) | Pop-up: Something went wrong on the server. Try again later. (…) or Something went wrong on the server. Try again later. (failed to write ModelRoute rule to AIGatewayRoute: …) … is technical text from the platform. The change cannot be applied. The same pop-up can be displayed when you add or delete a route or delete an endpoint. In the wizard, it has the title Failed to create endpoint. |
Try again in a moment. If the problem happens again, Ask your administrator and send the full text and the time. |
| Error code | Description | Recommended action |
|---|---|---|
| None (page message) | Page: Failed to load endpoints. with Something went wrong reaching the service. Check your connection and try again. and a Retry button, in place of the routes table. The routes of this endpoint, or the backends behind them, cannot be fetched. The heading says endpoints, but the routes failed. Add route is disabled and displays the same hint text on hover. The page does not show the reason. Also in Sign-in and access errors. | Click Retry. If the problem happens again, Reload the page and Ask your administrator. |
| None (status: Deploying) | Status badge: Deploying (on hover: MODEL_ROUTE_STATE_INITIALIZING) in the route's Status column. The gateway has not finished setting up this route. A working route displays Connected. No reason is displayed. | Reload the page in a few moments. If the route stays Deploying, Ask your administrator and give them the endpoint and route names. |
| Error code | Description | Recommended action |
|---|---|---|
| None (form check) | Under the field: Enter a route name. (Route name) You left the field empty or typed only spaces. The message is displayed after you leave the field. Add route stays disabled. | Type a route name, for example the model name that your clients should send. |
| None (form check) | Under the field: This endpoint already has a route with this name. The route name matches a route that already exists on this endpoint, or a route that you added earlier in the wizard. Capitals count, and spaces at the start and end do not count. | Enter a different route name. Delete the existing route only if no client still sends its name. |
| InvalidArgument (400) | Pop-up: Invalid request. Check your input and try again. (model_name must not exceed 256 characters) The route name is longer than 256 characters. Letters outside basic English count as more than one. The panel itself has no length limit. | Shorten the route name. |
| AlreadyExists (409) | Pop-up: That name is already in use. (model_name "…" is already used by ModelRoute "…" under Endpoint "…") Another route on this endpoint already uses this route name. The panel checks only against the routes that the page last loaded, so you see this error when someone else added a route with the same name after you opened the page. Depending on the backends involved, the AI Gateway Backend "bk-…" already exists message in a later row can be displayed instead in the same situation. | Reload the page. The existing route is then displayed in the Model routes tab. Enter another route name. Someone else added that route, so ask its owner before you delete it. |
| AlreadyExists (409) | Pop-up: That name is already in use. (AI Gateway Backend "bk-…" already exists in namespace "…") Each external-provider route, and each model deployment route whose deployment has no backend yet, gets a backend. The name of the backend is built from the endpoint name and the route name. Deleting a route or an endpoint does not remove its backend, so the name stays taken. You see this error when you add an external-provider route with the name of a route that you deleted from the same endpoint, when you re-create a deleted endpoint with the same name and the same external-provider route names, when you add a model deployment route under the name of a deleted route for a deployment that has no backend yet, or when someone else added a route with the same name to this endpoint after you opened the page. A backend left over from an earlier failed attempt has the same effect. | Retrying will not help. Use a different route name. To reuse the name, delete the backend that the message names. The Endpoints pages cannot delete a backend, so Ask your administrator. API users can use DELETE /api/v1/ai-gateway/backends/{id}. A leftover backend for a model deployment also blocks the deletion of that deployment. For more information, see "Deleting". |
| ResourceExhausted (429) | Pop-up: Request failed (HTTP 429). (Endpoint already has the maximum number of Model Routes. Delete an existing Model Route before adding another.) The endpoint already has 14 routes, which is the most that the service allows. The pages say Up to 15 routes per endpoint. and count … of 15, but the service refuses the 15th route. In the wizard, 15 routes make the whole create fail. | Retrying will not help. Delete a route that you no longer need, or put the extra routes on a second endpoint. In the wizard, remove routes until you have 14 or fewer. |
| FailedPrecondition (400) | Pop-up: Invalid request. Check your input and try again. (ai gateway external backend is not ready: AIServiceBackend "…" does not exist yet) or Invalid request. Check your input and try again. (ai gateway internal backend is not ready: AIServiceBackend "…" does not exist yet) Other texts after is not ready: can be displayed and mean the same. The backend for the new route was still being set up when the route was added. Nothing is wrong with your input, although the headline says so. The service removed everything that this attempt created. | Wait a few seconds and Try again with the same values. If the error persists, Ask your administrator. |
| NotFound (404) | Pop-up: The resource was not found. It may have been deleted. (AI Gateway Endpoint "…" not found in namespace "…" — ModelRoute requires an existing parent Endpoint) The endpoint was deleted after you opened its page, or it is an older third-party endpoint. The Endpoints list displays third-party endpoints, but they cannot take routes. | Click Back to Endpoints and reload the list. If the endpoint is gone, create it again if you still need it. For a third-party endpoint, Retrying will not help. Click Create endpoint and add your routes to a new endpoint. |
| Error code | Description | Recommended action |
|---|---|---|
| None (page message) | In the panel: Failed to load endpoints. with Something went wrong reaching the service. Check your connection and try again. and a Retry button. The list of model deployments, or of the gateway backends that already exist, cannot be fetched. The heading says endpoints. Add route is disabled without a reason. Also in Sign-in and access errors. | Click Retry. If the problem happens again, close the panel and Try again later. If the error still persists, Ask your administrator. |
| None (page message) | In the panel: No deployments available with Only OpenAI-compatible text or vision-language deployments that are running can be routed through the AI Gateway. and the link Open Model deployments; Add route is disabled with No eligible deployments are available. None of your deployments can back a route. A deployment qualifies when it serves an OpenAI-compatible API, its task is text generation, vision-language (image-and-text-to-text), embedding, or text-to-speech, and it is running. The panel text mentions only the first two tasks. Only the first 100 deployments are considered. | Deploy or start a qualifying model and wait until it displays Ready in the Model deployments list. Then add the route. If the endpoint has no routes yet, you can select External provider instead. |
| None (disabled option) | In the list: … — Not OpenAI-compatible, … — Task cannot be routed or … — Not ready after a deployment name (…). You cannot select that deployment. The panel displays the list only when at least one deployment can be selected. Otherwise, the panel displays No deployments available (see the previous row). Not OpenAI-compatible: the deployment does not serve an OpenAI-compatible API. Task cannot be routed: its task is not text generation, image-and-text-to-text, embedding, or text-to-speech. Not ready: its status is not Ready (this includes a deployment that displays Idle). |
For "Not ready": if the deployment is Stopped, start it. If it is still starting, wait until it displays Ready in the Model deployments list. A deployment that displays Idle has scaled down to zero and becomes Ready only when it receives a request. Send a request, for example from the Test Model tab of the deployment. Then close the panel and open it again. The panel reuses a list that is up to 30 seconds old, so if the deployment still displays "Not ready", wait half a minute and reopen the panel. The other two cannot be fixed on that deployment, so deploy a qualifying model instead. |
| None (disabled button) | Disabled button: Add route with Select a deployment to add this route. The deployment that you selected can no longer be used, for example because it stopped running, and no other deployment is selected. | Select a different deployment that the list allows you to select. |
| NotFound (404) | Pop-up: The resource was not found. It may have been deleted. (deployment "…" not found in namespace "…") The deployment that you selected was deleted after the panel loaded. | Close the panel, open it again, and select another deployment. |
| FailedPrecondition (400) | Pop-up: Invalid request. Check your input and try again. (deployment "…" in namespace "…" does not serve an OpenAI-compatible API (api-standard: …); AI Gateway Backends require api-standard "openai") or Invalid request. Check your input and try again. (deployment "…" in namespace "…" has task …; AI Gateway Backends require task "TEXT_GENERATION", "IMAGE_TEXT_TO_TEXT", "EMBED", or "TEXT_TO_SPEECH", because AI Gateway routing is installed only for those tasks) The service re-checked the deployment and refused it. The panel does not offer such deployments, so the details of the deployment on the server differ from what the list showed, for example because the deployment changed after you opened the panel. … after api-standard: or has task is the value of the deployment, or none. |
Close the panel, open it again, and select a deployment that the list lets you select. Retrying will not help with the same deployment. |
| NotFound (404) / FailedPrecondition (400) | Pop-up: The resource was not found. It may have been deleted. (ai gateway backend not found: "…" in namespace "…") or Invalid request. Check your input and try again. (ai gateway backend has no internal target configured: "…") The panel reused the backend that already exists for this deployment, and that backend was removed or changed in the meantime. | Close the panel, wait half a minute, open it again, and Try again. The panel reuses a list that is up to 30 seconds old. If the error persists, Ask your administrator. |
| Error code | Description | Recommended action |
|---|---|---|
| None (form check) | Under the field: Enter a valid http or https URL. (URL) The text is not a complete web address that starts with http:// or https://. An http:// address passes this check, but the service refuses it (see the following rows). |
Paste the base URL of the provider, starting with https://, like the example in the field. |
| None (form check) | Under the field: Enter a JSON object for the service account key. (Service account JSON, Google Gemini) The text is not valid JSON, or it is valid JSON but not an object in curly braces, for example a list or a quoted string. A key that you pasted only in part also gets this message. | Paste the whole content of the service account key file that you downloaded from Google Cloud. |
| None (disabled button) | Disabled button: Add route, with no message. A required field is empty or not valid. All providers need Route name, URL, and Model. Azure OpenAI also needs API key and API version. OpenAI and Anthropic need API key (or Secret Catalog entry). AWS Bedrock needs Bearer token. Google Gemini needs Service account JSON, Project, and Region. | Fill in every field that is displayed for your provider. |
| InvalidArgument (400) | Pop-up: Invalid request. Check your input and try again. (external.provider_endpoint.url: URL scheme must be https) The address starts with http://. The gateway calls providers only over HTTPS. |
Change the URL to start with https:// and Try again. |
| InvalidArgument (400) | Pop-up: Invalid request. Check your input and try again. (external.provider_endpoint.url: URL hostname "…" is not allowed) The host is blocked. Blocked hosts are localhost, kubernetes.default.svc, metadata.google.internal, a name that starts with 127. or metadata., a name that ends with .svc or .svc.cluster.local, and a loopback or link-local IP address. Other private addresses are allowed. |
Retrying will not help. Use the address of the provider itself. The service blocks local, in-cluster, and cloud metadata addresses on purpose. |
| InvalidArgument (400) | Pop-up: Invalid request. Check your input and try again. (external.provider_endpoint.url: URL must contain a hostname) or Invalid request. Check your input and try again. (external.provider_endpoint.url: invalid URL: …) The form accepts some addresses that the service cannot read: an address with no host name, for example https:///api.openai.com/v1 (three slashes), or an address with a % that is not followed by two hexadecimal digits. |
Retrying will not help with the same address. Retype the URL from the documentation of the provider, with https://, the host name, and no extra slashes or % signs. |
| InvalidArgument (400) | Pop-up: Invalid request. Check your input and try again. (external.upstream_model_name must be at most 512 characters) or Invalid request. Check your input and try again. (external.upstream_model_name must not contain control characters) The Model value is longer than 512 characters (letters outside basic English count as more than one) or contains an invisible character such as a tab. | Use the model ID exactly as the provider documents it, at most 512 characters. Type it instead of pasting it, so that no invisible characters come along. |
| FailedPrecondition (400) | Pop-up: Invalid request. Check your input and try again. (resolve secret service ref "…": secret service entry not found: …) (Credential source Secret Catalog entry (CSK)) No entry with the name that you entered was found. Both … are the entry name. |
Verify the exact entry name in the Secret Catalog on Anywhere Cloud, and verify that you can access it. |
| Internal (500) | Pop-up: Something went wrong on the server. Try again later. (map secret service values for "…": secret service values_string must include apiKey (or api_key/key/API_KEY)). The entry exists but holds no API key under one of those names. The headline suggests a server problem, but the entry needs fixing. | Retrying will not help. Store the key in the entry under apiKey (or api_key, key, API_KEY), or ask the owner of the entry to do so. Then Try again. |
| Internal (500) / InvalidArgument (400) | Pop-up: Something went wrong on the server. Try again later. (resolve secret service ref "…": getSecret request failed: …) or the same with one of these in place of getSecret request failed: …: getSecret returned HTTP …: …, decode getSecret response: …, read getSecret response: …, build getSecret request: …, getSecret returned empty values_string for "…", get secret service token: …. The Secret Catalog cannot be read. When the technical text contains words such as invalid, the headline is Invalid request. Check your input and try again. instead. | Try again later. If the problem happens again, Ask your administrator and send the full text. In the meantime, you can select Enter API key. |
| Error code | Description | Recommended action |
|---|---|---|
| None (dialog) | Dialog: Delete …? with Clients sending '…' to … get errors. followed by The deployment … keeps running on its own URL. (model deployment route) or The external provider backend is unchanged. (external-provider route). Requests that use this route name stop working. The backend of the route remains in place, so adding this route name again later for an external provider is refused. For a different deployment, it can be refused as well (see the AI Gateway Backend "bk-…" already exists row under Adding a route). | Ensure that no client still sends this route name, or first move clients to a replacement route with a different name. |
| Internal (500) | Pop-up: Something went wrong on the server. Try again later. (failed to remove rule from AIGatewayRoute: …) or Something went wrong on the server. Try again later. (…) … is technical text from the platform. The delete did not finish. The route stays in the list, but it might already have stopped answering requests, and you cannot change it until the delete completes. The dialog stays open. |
Try again. A successful retry completes the delete. If the problem happens again, send the full text to your administrator. |
| Error code | Description | Recommended action |
|---|---|---|
| None (dialog) | Dialog: Delete …? with Clients calling … get errors. Its … routes go with it; the deployments behind them keep running. (or Its 1 route goes with it;; this endpoint when the address is not known). Clients that use the endpoint address fail. The service does not delete routes together with the endpoint. While the endpoint has routes, the service refuses the delete (see the next row). Model deployments are not affected. The same text is displayed when the routes use an external provider. | Move clients to another endpoint first. Then delete every route on the Model routes tab, and only then confirm. |
| FailedPrecondition (400) | Pop-up: Invalid request. Check your input and try again. (cannot delete AI Gateway Endpoint "…": … ModelRoute(s) still reference it — delete them first) The second … is the number of routes. Nothing is wrong with your input, although the headline says so. The endpoint still has routes. A route whose delete failed also counts. The dialog stays open. |
Retrying will not help. Click Cancel, open the endpoint, delete each route on the Model routes tab, and delete the endpoint again. |
| Error code | Description | Recommended action |
|---|---|---|
| InvalidArgument (400) | service name must be specified, service name cannot start or end with a "-" character, service name must not exceed 36 characters or service name must consist of alphanumerics, spaces, or "-". The name of the endpoint, backend, model route, or principal breaks the name rules, which the service checks after it converts capitals to lowercase and spaces to dashes. The service uses the dash message only for a trailing dash. A leading dash and a one-character name get the last message. For the name inside endpointId (model route create, POST /api/v1/ai-gateway/model-routes) or backendIds (model route create and update), the text gets the prefix endpoint_name: or backend_ids[…]: . Because the service checks the ID first, only the 36-character text (or the last text, for a one-character name) is displayed there. The base URL preview (endpoints:preview-base-url) uses the same texts. Also in Deployment wizard and edit errors. |
Use 2 to 36 lowercase letters, numbers, or dashes. Start and end the name with a letter or number. |
| InvalidArgument (400) | service description must not exceed 256 characters The endpoint description is too long. The service enforces a limit of 2500 bytes, although the message says 256. Also in Deployment wizard and edit errors. | Shorten the description. |
| InvalidArgument (400) | … id "…" must have the form k8s:<namespace>:<name>, … id "…" has unsupported scheme "…", namespace "…" is invalid: … or name "…" is invalid: …. The first … is AI Gateway Endpoint, AI Gateway Backend, AI Gateway ModelRoute, AI Gateway Principal, or deployment. After is invalid: come one or more of must be no more than 63 characters, must not contain dots, and a lowercase RFC 1123 label must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character (e.g. 'my-name', or '123-abc', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?'), joined by ; . An ID in the path, endpointId, backendIds, or internal.deploymentId is malformed. |
Use the id value from the List or Create response unchanged. |
| FailedPrecondition (400) | cluster domain is not configured or serving namespace is not configured from the base URL preview (endpoints:preview-base-url). The service is not fully set up. All other AI Gateway calls answer serving namespace is not configured as InvalidArgument (400), for the same reason. Also in Deployment wizard and edit errors. |
Retrying will not help. To resolve this error, Ask your administrator. |
| InvalidArgument (400) | name is required A POST /api/v1/ai-gateway/backends call has no name. The other create calls answer an empty name with service name must be specified. |
Send the resource name. |
| NotFound (404) | AI Gateway Endpoint "…" not found in namespace "…", AI Gateway Backend "…" not found in namespace "…" or AI Gateway ModelRoute "…" not found in namespace "…". A Get or Update call refers to a resource that does not exist. Delete of a resource that does not exist succeeds, and listing model routes (GET /api/v1/ai-gateway/model-routes) with an unknown endpointId returns an empty list. |
Verify the ID. List the resources to find the right one. |
| Unimplemented (501) | "…" is a third-party endpoint; updating it via this API is not supported, use the third-party endpoint update API instead The call PATCH /api/v1/ai-gateway/endpoints/{id} targets an older third-party endpoint. |
Retrying will not help. Older third-party endpoints have no description, and this call cannot change anything else. To change their URL, credentials, or rate limit, use the older call POST /api/v1alpha1/updateEndpoint. To give the endpoint a description, re-create it as an AI Gateway endpoint with an external-provider route. |
| InvalidArgument (400) | update_mask is required and must name at least one field, update_mask names a field that does not exist on …: …, update_mask must not name "…", which is not updatable; for backends also update_mask must name exactly one of internal, external (got … paths), update_mask names internal but internal is not set, update_mask names external but external is not set, update_mask path "…" is not supported; use internal or external. The update mask of an Update call is missing or wrong. Also in Deployment wizard and edit errors. | In updateMask, use camelCase paths separated by commas without spaces. For an endpoint, use description. For a model route, use modelName, backendIds, or both, for example modelName,backendIds. For a backend, use internal or external, with that block in the body. For a principal, use budgetCeilingTokens. |
| InvalidArgument (400) / FailedPrecondition (400) | model_name must not be empty (InvalidArgument); AI Gateway ModelRoute "…" is being deleted, AI Gateway Backend "…" is being deleted, cannot change AI Gateway Backend "…" target type while … ModelRoute(s) still reference it — delete them first (FailedPrecondition). An Update call sets an empty route name, runs at the same time as a delete, or switches a backend between model deployment and external provider while routes use it. | Send a non-empty modelName. For the delete texts, Retrying will not help with the update. If an earlier delete of that resource failed, send the delete again. For the target type, delete the routes first or create a new backend. |
| FailedPrecondition (400) | cannot delete AI Gateway Backend "…": … ModelRoute(s) still reference it — delete them first The call DELETE /api/v1/ai-gateway/backends/{id} is made while a route on any endpoint uses the backend as its primary or fallback backend, including routes that are being removed. Deleting a backend is how an administrator frees a leftover backend name. |
Delete the routes that use the backend. For an endpoint that you do not own, ask the owner of the endpoint to delete the routes. Then delete the backend. |
| InvalidArgument (400) | backend_ids must have between 1 and 2 entries, got …, backend_ids[…] must not be empty, backend_ids must not contain duplicate entries: "…", model_name is required or ai gateway route rule name is reserved: "route-not-found". The body of a model route create call (POST /api/v1/ai-gateway/model-routes) is incomplete or uses the reserved route name. The backend_ids texts also come from PATCH /api/v1/ai-gateway/model-routes/{id}. |
Send one backend ID, optionally a second one as a fallback, a modelName, and any route name other than route-not-found. |
| AlreadyExists (409) | AI Gateway ModelRoute "…" already exists in namespace "…" A model route with this resource name exists. The resource name must be unique across all endpoints. The route name that clients send (modelName, the Route name in the panel) must be unique only within one endpoint. | Use another route name. |
| FailedPrecondition (400) | ai gateway external backend is not ready: credential secret "…" not found The credentialSecretName of the backend names a secret that does not exist. Creating the backend does not check this, but adding a route does. | Retrying will not help. Set credentialSecretName to an existing secret. To find out which secret exists, Ask your administrator. Alternatively, update the backend to use inline credentials or a Secret Catalog entry. |
| InvalidArgument (400) | internal or external target is required, exactly one of internal or external may be set, external.provider_type is required or external.provider_type is invalid. A POST /api/v1/ai-gateway/backends body has no target, a PATCH /api/v1/ai-gateway/backends/{id} body has both targets, or either body has no provider type or an unknown provider type. |
Set exactly one of internal or external. For providerType, use EXTERNAL_BACKEND_PROVIDER_OPENAI, EXTERNAL_BACKEND_PROVIDER_AZURE_OPENAI, EXTERNAL_BACKEND_PROVIDER_AWS_BEDROCK, EXTERNAL_BACKEND_PROVIDER_GEMINI, or EXTERNAL_BACKEND_PROVIDER_ANTHROPIC. |
| InvalidArgument (400) | external.credential_secret_name, external.inline_credentials, or external.secret_catalog_ref is required, external credential must set exactly one of credential_secret_name, inline_credentials, or secret_catalog_ref, external.inline_credentials must include a credential value, external.inline_credentials.api_key is required for provider … (OPENAI, AZURE_OPENAI or ANTHROPIC), external.inline_credentials.aws_credentials is required for AWS Bedrock, external.inline_credentials.gcp_credentials is required for Gemini, external.secret_catalog_ref is not supported for provider AWS_BEDROCK, external.secret_catalog_ref is not supported for provider GEMINI, external.credential_secret_name must not contain leading or trailing whitespace, external.credential_secret_name is not a valid Kubernetes object name. The credentials are missing, given twice, empty, or of the wrong type for the provider, or the secret name is malformed. |
Send exactly one credential that matches the provider: an inline key, a Secret Catalog entry (OpenAI, Anthropic, Azure OpenAI), or the name of an existing secret. |
| InvalidArgument (400) | secret entry name is required A POST /api/v1/ai-gateway/backends or PATCH /api/v1/ai-gateway/backends/{id} call has inline credentials and an empty secretCatalogRef object (no catalogId). The empty reference makes the service ignore the inline credentials and look up a Secret Catalog entry without a name. Nothing is stored. |
Leave out secretCatalogRef when you send inline credentials, or fill in its catalogId. |
| InvalidArgument (400) | region is required for Bedrock IAM credentials, access_key_id is required for Bedrock IAM credentials or secret_access_key is required for Bedrock IAM credentials. The AWS Bedrock access-key credentials have no aws_credentials.region, or have only one half of the key pair. Also in Deployment wizard and edit errors. | Send both key fields and aws_credentials.region, or use a bearer token. |
| InvalidArgument (400) | external.provider_endpoint.url is required for Azure OpenAI, external.provider_endpoint.url is required for AWS Bedrock, external.provider_endpoint.url is required for Gemini, external.provider_endpoint.api_version is required for Azure OpenAI or external.provider_endpoint.gcp_project and gcp_region are required for Gemini. A provider-specific address field is missing. OpenAI and Anthropic without a URL use the public addresses of the providers. | Fill in the field that the message names. For Gemini, the project and region can also come from projectName and region in the inline GCP credentials. |
| InvalidArgument (400) | external.provider_endpoint.url: invalid URL: …, external.provider_endpoint.url: invalid port: … or external.provider_endpoint.url: URL must contain a hostname. The address cannot be read (for example a % that is not followed by two hexadecimal digits), its port number is larger than 2147483647, or it has no host name (for example https:///… with three slashes). The first and last texts can be also displayed in the Add model route pop-up, because the panel accepts such addresses (see Adding A Route: External Provider Backend). |
Verify the URL for typos, stray % signs, extra slashes, and a wrong port. |
| InvalidArgument (400) | external.cost_per_input_token must be a finite number, external.cost_per_output_token must be a finite number, external.cost_per_input_token must not be negative, external.cost_per_output_token must not be negative or external.upstream_model_name must not contain leading or trailing whitespace. A token cost is negative or not a number, or the upstream model ID has spaces at either end. | Send costs of 0 or more and a trimmed model ID. |
| InvalidArgument (400) | external CA certificate must set at most one of ca_certificate_secret_name, inline_ca_certificate, or ca_certificate_catalog_ref, external.inline_ca_certificate must include a non-empty PEM value, external.ca_certificate_catalog_ref.catalog_id is required when ca_certificate_catalog_ref is set or CA certificate secret_catalog_ref is not yet supported: pending Secret Catalog Service schema confirmation (CAII-460 Task 4). The CA certificate is given more than one time, is empty, or is taken from the Secret Catalog, which is not supported. The last text comes after the service stored the inline credentials of the backend. The service retains them, so a new POST /api/v1/ai-gateway/backends with the same name then fails with the secrets … already exists text in a later row. The field names in the texts differ from the API field names: inline_ca_certificate is caCertificateInlinePem and ca_certificate_catalog_ref is caCertificateSecretCatalogRef. |
Send at most one CA certificate, as inline PEM or as the name of an existing secret. After the Secret Catalog text, use a different backend name. |
| Internal (500) | secrets "…-credentials" already exists A POST /api/v1/ai-gateway/backends call with inline credentials fails when a credential secret with the name of this backend already exists. The secret is left over from an earlier create that failed at the CA certificate step, or it belongs to an older third-party endpoint with the same name. The service does not create the backend. |
Use a different backend name, or Ask your administrator to remove the leftover secret. |
| None (status_message field) | statusMessage of an endpoint, backend or model route in Get and List responses. Fixed texts: CA certificate Secret "…" not found or has no ca.crt; the Backend keeps its current TLS trust until it exists, CA certificate Secret "…" not found or has no ca.crt; the Backend is not created until it exists, External Backend could not be configured: insufficient permissions to create required gateway resources., Endpoint already has the maximum number of Model Routes. Delete an existing Model Route before adding another., A Model Route rule cannot reference more than 128 backends., A Model Route rule cannot mix Internal (InferencePool) and External (AIServiceBackend) backends in the same rule., A Model Route rule can reference at most one Internal (InferencePool) backend. or External Backend wiring requires an Envoy Gateway Backend reference on the AIServiceBackend.. Other values are technical text from the platform. The service sets this field only for configuration or permission rejections. It stays empty for most problems, such as a wrong API key or URL. The state is only ever Initializing, Updating (endpoints only), or Running, never Error. | Fix the cause that the message names. For a missing CA secret, Ask your administrator to create it with a ca.crt key. For permissions, Ask your administrator. |
| InvalidArgument (400) / AlreadyExists (409) / NotFound (404) / Internal (500) | Principals (/api/v1/ai-gateway/principals). A principal names one user, group, or machine user and its token budget ceiling (budget_ceiling_tokens). Messages for InvalidArgument: exactly one identity (user, group, or machine_user) must be set, identity value must not be empty, identity value must not exceed 255 characters, budget_ceiling_tokens must not be negative, and the four name texts in the previous rows. Messages for AlreadyExists: a Principal with identity … "…" already exists (… is user, group or machine_user) and AI Gateway Principal "…" already exists in namespace "…". Message for NotFound: AI Gateway Principal "…" not found in namespace "…". Message for Internal: corrupt Principal data: corrupt budget-ceiling-tokens "…" in ConfigMap …: …. |
Set one identity of at most 255 characters and a ceiling of 0 or more. Reuse or delete an existing principal. For corrupt data, Ask your administrator. |
Model and registry errors
These messages appear when you open the model pages, choose a model to deploy, or read models from Cloudera AI Registry. The following tables list the model and registry errors:
| Error code | Description | Recommended action |
|---|---|---|
| None (page message) | Page (Registered Models): No registered models and Import a model into a registry to get started. The Import model button is disabled. The page does not read the registry. It always looks like this, even when the registry holds models you can deploy. | To see the models you can deploy, click Deploy model and open the Model builder step. The Model list displays the registered models. |
| None (page message) | Page (Model Hub): No models available in the hub and Enable models to make them available for deployment. The Configure model hub button is disabled. The page does not read any model source. It always looks like this. | To add a model, click the Find it in the Marketplace → link under the Model list in the Model builder step. |
| None (page message) | Page (a single model): The page title is the model ID from the address, with no versions or other details. The page displays any ID that you enter in the address, including an ID that does not exist, so it does not prove that the model is in the registry. The Deploy button opens an empty deploy wizard. | Click Deploy, and select the model and version again in the Model builder step. If the model is not in the Model list, see "Choosing A Model In The Deploy Wizard". |
| Error code | Description | Recommended action |
|---|---|---|
| None (no message) | Model list (Model builder step): the list displays Loading models…, then Select a model with nothing to select. Either no model that you can see is registered, or Cloudera AI Gateway and Inference cannot read the registry. Every registry failure looks the same here: no registry is set up, the registry did not accept your sign-in, the registry refused access, or the registry does not answer. The page does not show the reason. | Reload the page. If the list is still empty and you know that the model is registered, Sign in again through the Anywhere Cloud Console, and open the wizard again. If the list is still empty, Ask your administrator to check the connection between Cloudera AI Gateway and Inference and the AI Registry. To register a new model, click the Find it in the Marketplace → link under the list. |
| None (no message) | Version list (Model builder step): After you select a model, the list displays Loading versions…, then Select version with nothing to select. The model has no versions, or Cloudera AI Gateway and Inference cannot read the model from the registry. The page does not show the reason. | Reload the page and select the model again. Verify in the AI Registry that the model has at least one version. If other models list their versions and this one does not, ask the model owner. |
| None (disabled button) | Disabled button: The Next button stays disabled on the Model builder step, with no explanation. You have not selected both a model and a version yet. The button also stays disabled while the red box No cluster node has enough GPUs of the required type for this model version. is displayed. For more information, see Resources And Quota. | Select a Model and a Version. If the lists are empty, see the previous rows. |
| None (disabled field) | Version list (edit page): The list is disabled, with no explanation. On the edit page, you can change the version only when the model has more than one version and is not a Hugging Face or NVIDIA NIM model. The list also stays disabled when the deployed version is no longer listed in the registry. | Retrying will not help. To serve another version of such a model, deploy it as a new model deployment. |
| Error code | Description | Recommended action |
|---|---|---|
| None (no message) | Deployment page, Model ID: The page displays the model name stored with the deployment, or the model ID, followed by : and the version, instead of the name of the model in the registry. This happens when Cloudera AI Gateway and Inference cannot read the model from the registry. The deployment itself is not affected. On the Configurations tab, a failed registry read hides the vLLM Arguments section. For more information, see Configurations. | Reload the page. If the registry name is never displayed, verify that the model still exists in the AI Registry. |
| Error code | Description | Recommended action |
|---|---|---|
| Unavailable (503) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): The service is temporarily unavailable. Try again later. (model registry is not configured yet; check model.registry.url) The AI Registry address that is set for this Cloudera AI Gateway and Inference instance is missing or not valid. model.registry.url is an administrator setting that you cannot change. In this state, the Model list in the wizard is empty too, and the edit page of a deployment does not open. |
Retrying will not help. Ask your administrator to check the AI Registry address of this Cloudera AI Gateway and Inference instance. |
| PermissionDenied (403) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): You don't have permission to perform this action. (model status is not ready) The model version is not ready in the AI Registry. It is still being registered or uploaded, its upload failed, it is being deleted or was deleted, its deletion failed, or its status is unknown. Despite the headline, this message is not about your permissions. This message also appears in Sign-in and access errors. | Wait until the version is ready in the AI Registry and Try again. If the upload of the version failed, select another Version, or ask the model owner to register the version again. On the edit page, if Version cannot be changed, deploy a working version as a new model deployment with Deploy model. |
| PermissionDenied (403) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): You don't have permission to perform this action. (user … is not authorized to deploy private model owned by …) The first … is your user name, and the second … is the owner of the model. The model is private in the AI Registry, and only its owner can deploy it. |
Retrying will not help. Ask the model owner to deploy the model, or to make the model public in the AI Registry. |
| PermissionDenied (403) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): You don't have permission to perform this action. (model creator information is missing) The model is private, but the AI Registry has no owner recorded for it, so Cloudera AI Gateway and Inference cannot verify that you are allowed to deploy it. | Retrying will not help. Ask the model owner or your administrator to correct the entry of the model in the AI Registry, or to make the model public. |
| PermissionDenied (403) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): You don't have permission to perform this action. (unknown model visibility: …) … is the visibility that the AI Registry recorded for the model. Cloudera AI Gateway and Inference accepts only public and private models. When the registry recorded no visibility, the text ends with (unknown model visibility:). |
Retrying will not help. Ask the model owner or your administrator to set the model to public or private in the AI Registry. |
| Error code | Description | Recommended action |
|---|---|---|
| Unavailable (503) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): The service is temporarily unavailable. Try again later. (error fetching model version: …) or … (error fetching model: …). … is a technical connection error. Cloudera AI Gateway and Inference cannot reach the AI Registry, or cannot read its answer. |
Try again in a few moments. If the problem happens again, Ask your administrator to verify that the AI Registry is running and reachable from Cloudera AI Gateway and Inference. |
| NotFound (404) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): The resource was not found. It may have been deleted. (error fetching model version: …: "…") or … (error fetching model: …: "…"). The first … is the error code of the registry, and the quoted … is its message. The model or the version is not in the AI Registry, for example because it was deleted. Cloudera AI Gateway and Inference looks up the version first, so a model that does not exist also produces error fetching model version. On the edit page, the message means that the deployed version was removed from the registry. When the whole model was removed, the edit page does not open. |
Select another Model or Version in the Model builder step. On the edit page: Retrying will not help. Deploy a version that still exists as a new model deployment. |
| PermissionDenied (403) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): You don't have permission to perform this action. (error fetching model version: …: "…") or … (error fetching model: …: "…"). The AI Registry refused to give Cloudera AI Gateway and Inference this model or version for you. | Retrying will not help. Ask the model owner or your administrator for access to the model in the AI Registry. |
| Unauthenticated (401) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Sign in again to continue. (error fetching model version: …: "…") or … (error fetching model: …: "…"). The AI Registry did not accept the sign-in that Cloudera AI Gateway and Inference sent for you. | Sign in again through the Anywhere Cloud Console and deploy or save again. If the error occurs right after you sign in, Ask your administrator. |
| InvalidArgument (400) / FailedPrecondition (400) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Invalid request. Check your input and try again. (error fetching model version: …: "…") or … (error fetching model: …: "…"). With InvalidArgument, the AI Registry rejected the model ID or version as invalid. With FailedPrecondition, the registry answered with any other error, including its own internal errors. Despite the headline, your input is then typically fine. | In the deploy wizard, select the model and version again from the lists. If the same message recurs, Try again later and Ask your administrator to check the AI Registry. On the edit page, the Model cannot be changed. If the message persists, deploy the model that you need as a new model deployment with Deploy model. |
| Internal (500) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Something went wrong on the server. Try again later. (model version metadata is missing) The AI Registry entry of this version does not say what kind of model it is (MLflow, Hugging Face, NVIDIA NGC or Mistral), so Cloudera AI Gateway and Inference cannot deploy it. Despite the headline, the problem is the registered version, not the server. | Retrying will not help. Select another Version, or ask the model owner to register the version again. On the edit page, if Version cannot be changed, deploy a working version as a new model deployment with Deploy model. |
| Unknown (500) / Internal (500) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Something went wrong on the server. Try again later. (unknown model version metadata type "…") … is the kind of model recorded in the AI Registry. Cloudera AI Gateway and Inference deploys only registry models of the kinds MLFLOW, HF (Hugging Face), NGC (NVIDIA NGC) and MISTRAL. You get Internal (500) when you save changes on the edit page. |
Retrying will not help. Select a model of a supported kind. Ask your administrator whether a newer Cloudera AI Gateway and Inference version supports this kind of model. |
| InvalidArgument (400) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Invalid request. Check your input and try again. (model location "…" has no object key prefix inside the bucket) or Invalid request. Check your input and try again. (invalid model artifact URL "…": …) The first … is the location of the model files that the AI Registry recorded for the version. In the second message, the last … is the technical reason. Cloudera AI Gateway and Inference checks the location when a storage bucket is attached to this Cloudera AI Gateway and Inference instance. Cloudera AI Gateway and Inference cannot use the location because it is the top of a storage bucket instead of a folder in it, it is empty, or it is a web address that is not well formed. This message also appears in Deployment Settings. |
Retrying will not help. Select another Version, or ask the model owner to register the version again. On the edit page, if Version cannot be changed, deploy a working version as a new model deployment with Deploy model. |
| Error code | Description | Recommended action |
|---|---|---|
| Internal (500) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Something went wrong on the server. Try again later. (missing hf metadata) The registry marks the version as a Hugging Face model but holds no Hugging Face details for it. Despite the headline, the problem is the registered model, not the server. | Retrying will not help. In the deploy wizard, select another Version or Model. On the edit page, you cannot change them for a Hugging Face model. Ask the model owner to import the model into the AI Registry again. |
| Unknown (500) / Internal (500) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Something went wrong on the server. Try again later. (failed to find the huggingface metdata for the provided model version) The word metdata is spelled this way in the message. The Hugging Face details of the version exist but are empty. You get Internal (500) when you edit. | Retrying will not help. In the deploy wizard, select another Version or Model. On the edit page, the model and version of a Hugging Face deployment cannot be changed, so the change cannot be saved until the model is fixed. Ask the model owner to import the model again. |
| Unknown (500) / Internal (500) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Something went wrong on the server. Try again later. (unable to parse huggingface metadata provided by model registry as JSON: …) … is the technical reason, for example invalid character … looking for beginning of value. The Hugging Face details stored for this version are damaged. You get Internal (500) when you edit. |
Retrying will not help. In the deploy wizard, select another Version or Model. On the edit page, you cannot change them for a Hugging Face model. Ask the model owner to import the model again. |
| InvalidArgument (400) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Invalid request. Check your input and try again. (no architectures provided for the given huggingface model) The configuration of the model names no model architecture, and its library is transformers or sentence-transformers, so Cloudera AI Gateway and Inference cannot determine how to serve it. Nothing in the form is wrong. |
Retrying will not help. Select another Model, because this one cannot be deployed as registered. On the edit page, the Model cannot be changed. Deploy the model that you need as a new model deployment with Deploy model. Ask the model owner whether a fixed version can be imported. |
| InvalidArgument (400) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Invalid request. Check your input and try again. (unsupported HuggingFace model library '…'. Supported libraries: transformers, sentence-transformers, pytorch, tensorflow, onnx) … is the library of the model. It is empty ('') when the model names no library. The model names no architecture and was built with a library that Cloudera AI Gateway and Inference does not serve. |
Retrying will not help. Select a model that was built with one of the listed libraries. |
| InvalidArgument (400) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Invalid request. Check your input and try again. (onnx models can only be deployed from an mlflow container) The Hugging Face model is an ONNX model (its library is onnx). Cloudera AI Gateway and Inference serves ONNX models only when they were registered from an MLflow run, not when they were imported from Hugging Face. |
Retrying will not help. Select another Model. On the edit page, the Model cannot be changed, so deploy the model that you need as a new model deployment with Deploy model. Ask the model owner to log the ONNX model with MLflow, register it, and deploy that version. |
| FailedPrecondition (400) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Invalid request. Check your input and try again. (missing ngc metadata) The registry marks the version as an NVIDIA NGC model but holds no NIM details for it. Despite the headline, nothing in the form is wrong. | Retrying will not help. In the deploy wizard, select another Version or Model. On the edit page, you cannot change them for an NVIDIA NIM model. Ask the model owner to import the model from NGC again. |
| FailedPrecondition (400) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Invalid request. Check your input and try again. (failed to find the ngc metdata for the provided model version) The word metdata is spelled this way in the message. The version has no optimization profile stored. | Retrying will not help. In the deploy wizard, select another Version or Model. On the edit page, the model and version of an NVIDIA NIM deployment cannot be changed. Ask the model owner to import the model again, with an optimization profile. |
| Unknown (500) / Internal (500) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Something went wrong on the server. Try again later. (yaml: …) The text in brackets is a technical message that starts with yaml: and can run over several lines. The optimization profile stored for this version is damaged. You get Internal (500) when you edit. |
Retrying will not help. In the deploy wizard, select another Version or Model. On the edit page, you cannot change them for an NVIDIA NIM model. Ask the model owner to import the model from NGC again. |
| InvalidArgument (400) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Invalid request. Check your input and try again. (selected NGC model is not supported due to unsupported task) The NIM runtime installed for this model is set up for a task that Cloudera AI Gateway and Inference cannot serve. | Retrying will not help. Select another NIM Model. On the edit page, the Model cannot be changed, so deploy the model that you need as a new model deployment with Deploy model. Ask your administrator to check the runtime installed for this model. |
| FailedPrecondition (400) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Invalid request. Check your input and try again. (mistral registry model has no name) The Mistral model has no name in the registry, so Cloudera AI Gateway and Inference cannot find its runtime. | Retrying will not help. In the deploy wizard, select another Model. On the edit page, the Model cannot be changed, so deploy the model that you need as a new model deployment with Deploy model. Ask the model owner to fix the entry of the model in the AI Registry. |
| InvalidArgument (400) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Invalid request. Check your input and try again. (selected Mistral model is not supported due to unsupported task) The runtime installed for this Mistral model is set up for a task other than text generation or image-and-text-to-text. | Retrying will not help. Ask your administrator to check the runtime installed for this model. |
| FailedPrecondition (400) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Invalid request. Check your input and try again. (runtime "…" does not declare SERVED_MODEL on its kserve-container) … is the name of the runtime. The runtime installed for this Mistral model is missing a setting that Cloudera AI Gateway and Inference needs. |
Retrying will not help. Ask your administrator to fix the runtime named in the message. |
| FailedPrecondition (400) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Invalid request. Check your input and try again. (MLFlow metadata or tags are missing) The version has no MLflow details or no MLflow tags, so Cloudera AI Gateway and Inference cannot determine what kind of model it is. | Retrying will not help. Select another Version, or in the deploy wizard another Model. On the edit page, the Model cannot be changed, so to use another model, deploy it as a new model deployment with Deploy model. Ask the model owner to log the model with MLflow log_model and register the new version. |
| FailedPrecondition (400) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Invalid request. Check your input and try again. (failed to get MLFlow model history: mlflow.log-model.history tag not found) The MLflow run did not record how the model was logged. | Retrying will not help. Select another Version. Ask the model owner to log the model with MLflow log_model and register the new version. |
| FailedPrecondition (400) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Invalid request. Check your input and try again. (failed to parse MLFlow model history: …) … is model history JSON is empty, no history entries found, or failed to parse model history JSON: … followed by a technical reason. The MLflow logging history of the version is empty or damaged. |
Retrying will not help. Select another Version. Ask the model owner to log the model again and register the new version. |
| FailedPrecondition (400) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Invalid request. Check your input and try again. (failed to extract flavors from MLFlow model history: no flavors found in history entry) The MLflow history does not say which framework (flavor) the model uses. | Retrying will not help. Select another Version. Ask the model owner to log the model again with an MLflow flavor such as mlflow.transformers and register it. |
| FailedPrecondition (400) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Invalid request. Check your input and try again. (invalid transformers metadata format) The model was logged with the transformers flavor, but its transformers details are damaged. | Retrying will not help. Select another Version. Ask the model owner to log the model again and register it. |
| FailedPrecondition (400) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Invalid request. Check your input and try again. (model architecture '…' is not supported by vLLM) … is the architecture or type of the model. The vLLM engine that Cloudera AI Gateway and Inference uses for these models cannot serve this transformers model. |
Retrying will not help. Select a model with an architecture that vLLM supports. |
| FailedPrecondition (400) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Invalid request. Check your input and try again. (unsupported MLFlow model flavor - only 'transformers', 'onnx', 'pytorch', 'tensorflow', 'sklearn', 'xgboost', 'lightgbm', 'catboost', and 'python_function' flavors are supported) The model was logged with an MLflow flavor that Cloudera AI Gateway and Inference cannot serve. keras is also accepted, although the message does not list it. |
Retrying will not help. Select another Version, or in the deploy wizard another Model. Ask the model owner to log the model with one of the listed flavors and register it. |
| Unknown (500) / Internal (500) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Something went wrong on the server. Try again later. (unable to infer model task from architecture and no task_override provided. Please provide task_override for this model) Cloudera AI Gateway and Inference cannot determine what the model does (for example chat or embedding) from its architecture, and the registered version gives no task that the wizard can use. The Task field in the wizard is read-only, so you cannot set task_override there. On the edit page (Internal (500)), the message is displayed only for a deployment that has no task recorded. | Retrying will not help. In the Model builder step of the deploy wizard, select another Version or Model, for example one that displays a Task. On the edit page, the Model cannot be changed, and neither can the Version of an NVIDIA NIM or Hugging Face model. Deploy the model that you need as a new model deployment with Deploy model. Ask the model owner to record the task on the version in the AI Registry. API callers can set task_override (task in /api/v1). |
| Unknown (500) / Internal (500) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Something went wrong on the server. Try again later. (model of format TENSORRT can only be deployed with premium runtimes.) API callers also see a space after the final period. This is a NIM model for general inference or text generation, and this Cloudera AI Gateway and Inference installation does not have the premium runtime tier. | Retrying will not help. Deploy a model that is not a NIM model, or Ask your administrator about the premium runtime tier. |
| Unknown (500) / Internal (500) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Something went wrong on the server. Try again later. (model of format TENSORRT can only be deployed with premium runtimes) This message is the same as the message in the previous row, for a NIM embedding or reranking model. | Retrying will not help. Deploy a model that is not a NIM model, or Ask your administrator about the premium runtime tier. |
| Unknown (500) / Internal (500) | Pop-up (title "Failed to update deployment"): Something went wrong on the server. Try again later. (model of format … is not supported for general inference models) … is the format, for example TRANSFORMER or MISTRAL. The task of the deployment is general inference, but the model is read as a format that cannot be served that way. When you edit, the deployment retains the task that it was created with, so this message can be displayed when that task no longer fits the model. For example, it is displayed after you select an MLflow Version that was logged with the transformers flavor for a deployment that served a scikit-learn version. API callers also get this message when they set this task. |
Retrying will not help. If you changed the Version, select the version that the deployment had before. To serve the new version, deploy it as a new model deployment. The edit page cannot change the task. The deployment owner can change it through the API, with task_override on POST /api/v1alpha1/updateEndpoint. |
| Unknown (500) / Internal (500) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Something went wrong on the server. Try again later. (model of format … is not supported for text generating models) … is the format, for example model of format PYTORCH_PYTHON is not supported for text generating models. The task of the registered version is text generation, but its format cannot be served as a text generation model. For example, a Hugging Face model whose architecture vLLM does not support is read as PYTORCH_PYTHON. When you edit, the task is the one that the deployment was created with, so this message also appears when you select a Version of another kind, for example an MLflow version that is not logged with the transformers flavor. |
Retrying will not help. Select another Model or Version, for example one whose architecture vLLM supports. On the edit page, select the version that the deployment had before. If the task is wrong, ask the model owner to correct it in the AI Registry. |
| Unknown (500) / Internal (500) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Something went wrong on the server. Try again later. (model of format … is not supported for embedding models) … is the format. The task of the registered version is embedding (when you edit, the task of the deployment), but only NIM models and models served by vLLM (TRANSFORMER) can be served as embedding models. |
Retrying will not help. Select another Model or Version. On the edit page, select the version that the deployment had before. If the task is wrong, ask the model owner to correct it in the AI Registry. |
| Unknown (500) / Internal (500) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Something went wrong on the server. Try again later. (reranker models are currently only supported for TENSORRT formats) The task of the registered version is reranking (when you edit, the task of the deployment), but the model is neither a NIM model nor a model served by vLLM. The message names only TENSORRT, but rerankers served by vLLM (TRANSFORMER) are also accepted. |
Retrying will not help. Select a NIM reranking model, or a reranking model whose architecture vLLM supports. |
| InvalidArgument (400) | Pop-up (title "Failed to create deployment"): Invalid request. Check your input and try again. (task "…" requires api-standard "openai", got "…") The first … is the task (TEXT_GENERATION, IMAGE_TEXT_TO_TEXT, EMBED or TEXT_TO_SPEECH). The second … is the API that the runtime of the model offers, and it can be empty. Models with these tasks need an OpenAI-compatible API, and the runtime installed for this model does not offer one. This message also appears in Model deployment errors. |
Retrying will not help. Select another Model or Version. Ask your administrator to check the runtime installed for this model. |
| InvalidArgument (400) | Pop-up (title "Failed to update deployment"): Invalid request. Check your input and try again. (task "…" requires api-standard "openai", got "…"; set task_override on the update request to change the preserved task and proceed) When you edit, the deployment retains the task that it was created with. That task needs an OpenAI-compatible API, but the runtime of the model now offers a different API (displayed in the second …). The change was not saved. This message also appears in Model deployment errors. |
Retrying will not help. The edit page cannot set task_override. Ask your administrator or the deployment owner to update the deployment through the API, with task_override on POST /api/v1alpha1/updateEndpoint. |
| InvalidArgument (400) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Invalid request. Check your input and try again. (Failed to find runtime matching "…" with version "…". You might be running an older version of the inference service. Please check for upgrades!) The first … is huggingface, triton or python (Hugging Face and MLflow models, by format), the NGC name of the NIM model, or the name of the Mistral model. The second … is the NIM release that Cloudera AI Gateway and Inference needs. For other models, and for most NIM releases older than 1.3.0, it is empty (""). No installed runtime serves this model or this NIM release. |
Retrying will not help. You cannot upgrade Cloudera AI Gateway and Inference yourself. Select another Model or Version, for example another NIM release. On the edit page, the Model cannot be changed, and neither can the Version of an NVIDIA NIM or Hugging Face model, so deploy the model that you need as a new model deployment with Deploy model. Ask your administrator whether a runtime for this model is available for this Cloudera AI Gateway and Inference installation. |
| Internal (500) / NotFound (404) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Something went wrong on the server. Try again later. (the API service is not permitted to complete the Kubernetes request) The cluster refused an action that Cloudera AI Gateway and Inference needs, for example reading its list of serving runtimes, creating the deployment, or reading the existing deployment when you save. Other causes show the text from the cluster in the brackets instead. With NotFound (404), the headline is The resource was not found. It may have been deleted. This message also appears in Model deployment errors and Deployment wizard and edit errors. | Try again later. If the problem happens again, Ask your administrator. |
| Error code | Description | Recommended action |
|---|---|---|
| HTTP 405 | only GET is supported for model registry routes The registry browse address is read-only. Any other method is refused, with the header Allow: GET. |
Use GET. To register, change or delete models, use the AI Registry itself. |
| HTTP 400 | registry path must not contain '.' or '..' segments, encoded or not The path after the registry ID has a . or .. part, for example one hidden behind an encoded backslash (%5C). Paths with a plain /../ or /./ are not refused but are redirected to the cleaned-up address. |
Remove the . and .. parts from the path. |
| HTTP 404 | 404 page not found The address names no registry route. Either the registry ID is not default, or nothing follows the registry ID (for example /api/v1/registries/default/ or /api/v1/registries/default). On Anywhere Cloud, the only registry ID is default. |
Use /api/v1/registries/default/ followed by the registry path, for example models or models/<model id>. |
| HTTP 401 | missing bearer token or hadoop-jwt cookie The request carried neither an Authorization: Bearer … header nor the Anywhere Cloud session cookie (hadoop-jwt). Other Authorization schemes are ignored. |
Send your token as Authorization: Bearer …. |
| HTTP 503 | model registry is not configured yet Cloudera AI Gateway and Inference has no working connection to the AI Registry. The cause is the same as for model registry is not configured yet; check model.registry.url in the previous rows. | Ask your administrator to check the AI Registry address of this Cloudera AI Gateway and Inference instance. Retrying will not help until the problem is fixed. |
| HTTP 401 | the caller token has expired or was not accepted; sign in again Your token has expired, or the sign-in service did not accept it when Cloudera AI Gateway and Inference asked for registry access for you. | Get a new token, and send the request again. If a fresh token is refused too, Ask your administrator. |
| HTTP 403 | the model registry token exchange was refused for this user The sign-in service does not let Cloudera AI Gateway and Inference read the AI Registry on your behalf. This message also appears in Sign-in and access errors. | Retrying will not help. Ask your administrator to check your access to the AI Registry through Cloudera AI Gateway and Inference. |
| HTTP 503 | could not obtain a model registry token; try again later Cloudera AI Gateway and Inference cannot get registry access for you at the moment, for example because the sign-in service does not answer. This message also appears in Sign-in and access errors. | Try again in a few moments. If the problem happens again, Ask your administrator. |
| HTTP 502 | model registry unavailable Cloudera AI Gateway and Inference cannot reach the AI Registry. The cause is no connection, a name or certificate problem, or a timeout. | Try again later. If the problem happens again, Ask your administrator to verify that the AI Registry is running. |
| HTTP 400 / HTTP 401 / HTTP 403 / HTTP 404 / HTTP 5xx | Cloudera AI Gateway and Inference passes on the answer of the AI Registry unchanged, with its status. The body is typically JSON with the code and message of the registry. For example, the status is 401 when the registry does not accept the token, 403 when you are not allowed to see the model, and 404 when the model or version does not exist. | Act on the message of the registry. For 401, get a new token. For 403, ask the model owner for access. For 404, verify the model ID and version. For 5xx, Try again later, and Ask your administrator. |
| FailedPrecondition (400) | registry … is not linked to this CAII app. Link it via the management UI before deploying models from it … is the registry_source.registry_id that you sent. On Anywhere Cloud, Cloudera AI Gateway and Inference uses its one AI Registry and refuses every registry_id, including default. The default in the registry browse address is not a value for registry_id. Anywhere Cloud has no screen for linking registries. |
Retrying will not help. Leave registry_source.registry_id out of the request, and send only model_id and version. |
| Internal (500) | rpc error: code = … desc = … The message comes from POST /api/v1alpha1/getAllowedEnvironmentVariables, a deprecated call that the pages do not use. The model in the request cannot be resolved. The text after desc = is the same message that the deploy call gives, for example rpc error: code = NotFound desc = error fetching model version: …: "…". This call reports every such problem as Internal. Some messages, for example unknown model version metadata type "…", come without the rpc error: code = … desc = part. |
Look up the text after "desc =" (or the whole text) in the previous tables or in Model format, task, and runtime checks. |
| Internal (500) | allowed environment variables not found for runtime The message comes from POST /api/v1alpha1/getAllowedEnvironmentVariables. The serving runtime for this model publishes no list of suggested environment variables. The list is for information only. |
Nothing needs fixing. Deploy the model, and set the environment variables that you need. For more information, see "Deployment Settings". |
| InvalidArgument (400) | unknown model source The request has a source object with none of the known source types set, for example "source": {}. |
Set exactly one model source. On this platform, use registry_source with the model ID and version. |
| InvalidArgument (400) | source must be CML Registry A model deployment can use only an AI Registry model. The sources hf_source, ngc_source and url_source are refused. A third_party_source creates a third-party endpoint and is not affected. Cloudera AI Gateway and Inference reads the model before this check, so an error about the model itself (in the following rows, or in the previous tables) can come first for the same request. | Retrying will not help. Register the model in the AI Registry, and deploy it with registry_source. |
| Unknown (500) / Internal (500) | Cannot determine optimal format for model …: unsupported transformer architecture AND repository file access failed (…). Without file access, cannot detect available formats (ONNX, PyTorch, TensorFlow). Please ensure repository is accessible or use a model with supported transformer architecture. With hf_source, Cloudera AI Gateway and Inference cannot read exactly one model architecture from the information about the model on Hugging Face (the information cannot be fetched or read, or it names no architecture or several architectures), and it cannot list the files of the repository either. Despite the wording, the architecture is not checked against a supported list. The first … is the model ID, and the second … is the reason that the listing failed. You get Internal (500) on an update. |
Retrying will not help. Deploy the model from the AI Registry with registry_source. Direct Hugging Face sources are refused anyway ("source must be CML Registry"). |
| Unknown (500) / Internal (500) | Cannot determine format for model …: unsupported transformer architecture and no supported model files detected in repository (checked: ONNX, TorchScript, TensorFlow SavedModel/H5, PyTorch). The model may use a format not yet supported by CML Serving. With hf_source, Cloudera AI Gateway and Inference cannot read exactly one model architecture from the information about the model on Hugging Face. Despite the wording, the architecture is not checked against a supported list. The repository also has no model files in a format that Cloudera AI Gateway and Inference serves. You get Internal (500) on an update. | Retrying will not help. Use a model with a supported architecture or file format, imported into the AI Registry. |
| Unknown (500) / Internal (500) | speech to text models are currently only supported for TENSORRT formats The task is speech-to-text (set with task_override, task in /api/v1, or retained from the existing deployment on an update), and the model is not a NIM model. You get Internal (500) on an update. |
Retrying will not help. Use an NVIDIA NIM speech-to-text model, or a task that fits the model. |
| Unknown (500) / Internal (500) | text to speech models are currently only supported for TENSORRT formats The task is text-to-speech, and the model is not a NIM model. You get Internal (500) on an update. | Retrying will not help. Use an NVIDIA NIM text-to-speech model, or a task that fits the model. |
| Unknown (500) / Internal (500) | image text to text models are currently only supported for TENSORRT and MISTRAL formats The task is image-and-text-to-text, and the model is neither a NIM model nor a Mistral model. You get Internal (500) on an update. | Retrying will not help. Use an NVIDIA NIM or Mistral image-and-text-to-text model, or a task that fits the model. |
| Unknown (500) / Internal (500) | object detection models are currently only supported for TENSORRT formats The task is object detection, and the model is not a NIM model. You get Internal (500) on an update. | Retrying will not help. Use an NVIDIA NIM object detection model, or a task that fits the model. |
| InvalidArgument (400) | adapters are only supported for TRANSFORMER and TENSORRT model formats The request lists adapters, but the model is neither served by vLLM (TRANSFORMER) nor a NIM model (TENSORRT). The deploy wizard does not offer adapters, and the edit page sends back only the adapters that the deployment already has. |
Remove the adapters, or use a base model that is served by vLLM or a NIM model. |
| FailedPrecondition (400) | model profile does not support LoRA adapters (feat_lora is not enabled); re-import the model with a LoRA-capable optimization profile The request lists adapters for a NIM model whose optimization profile cannot load LoRA adapters. | Deploy without adapters, or ask the model owner to import the model again with a LoRA-capable optimization profile. |
| InvalidArgument (400) | vllm_engine_args (deprecated) and vllm_args cannot be used in the same request A v1alpha1 request sets both fields for a model that is served by vLLM or for a NIM text generation model. Other models ignore both fields. | Remove vllm_engine_args, and put the settings in vllm_args. |
| InvalidArgument (400) | dtype must be one of [auto half float16 bfloat16 float float32], invalid gpu_memory_utilization, value should be between 0 and 1, max_model_length must be a positive integer, max_num_seqs must be a positive integer, max_num_batched_tokens must be a positive integer, invalid quantization value, it must be one of [aqlm awq deepspeedfp tpu_int8 fp8 ptpc_fp8 fbgemm_fp8 modelopt nvfp4 marlin gguf gptq_marlin_24 gptq_marlin awq_marlin gptq compressed-tensors bitsandbytes qqq hqq experts_int8 neuron_quant ipex quark moe_wna16 torchao None], invalid blockSize value, it must be one of [8 16 32 64 128] or kv_cache_dtype must be one of [auto fp8 fp8_e5m2 fp8_e4m3] A value in the deprecated v1alpha1 vllm_engine_args is not allowed. The three positive integer messages are displayed only for negative values (0 means not set). Cloudera AI Gateway and Inference checks these values only for models served by vLLM and NIM text generation models, and only when vllm_args is empty. | Use a value from the message, or move the settings to vllm_args. |
| InvalidArgument (400) | invalid load_format value, it must be one of [aqlm awq deepspeedfp tpu_int8 fp8 ptpc_fp8 fbgemm_fp8 modelopt nvfp4 marlin gguf gptq_marlin_24 gptq_marlin awq_marlin gptq compressed-tensors bitsandbytes qqq hqq experts_int8 neuron_quant ipex quark moe_wna16 torchao None] The load_format in vllm_engine_args is not allowed (checked in the same cases as the previous row). The message lists the quantization values, not the load formats. The accepted values are auto, pt, safetensors, npcache, dummy, tensorizer, sharded_state, gguf, bitsandbytes, mistral, runai_streamer and fastsafetensors. |
Use one of the accepted values listed here, or move the setting to vllm_args. |
Endpoint call errors
These errors are returned when an application or a script calls a model endpoint. The following tables list the endpoint call errors:
| Error code | Description | Recommended action |
|---|---|---|
| HTTP 401 | Response: status 401. The platform sign-in service sets the body, not Cloudera AI Gateway and Inference, and the body can differ between installations (it can be empty). The request has no Authorization: Bearer … header, or the token is not valid or has expired. Through the in-cluster inference address, a call without the header gets 403 instead (see In-Cluster Calls). |
Send the header Authorization: Bearer <token> with a current token. If your token has expired, get a new one. For a model deployment, use Generate API Key on the page of the deployment (see "Generating An API Key"). Then Try again. In the browser, Sign in again. Who can fix it: you. For more information, see "Signing In And Access (All Pages)". |
| Error code | Description | Recommended action |
|---|---|---|
| HTTP 403 | Response: status 403. The platform sets the body, not Cloudera AI Gateway and Inference, and the body can be empty. The platform refused the call before it reached the model: your account does not have access, or the gateway of the platform does not admit the call. When every AI Gateway endpoint answers 403 for every user while model deployments answer normally, the platform is not set up to let calls to AI Gateway endpoints through. | Retrying will not help. Verify that the token belongs to the account you expect. Ask your administrator to verify your access to this Cloudera AI Gateway and Inference instance on the platform. If all AI Gateway endpoints refuse every user, Ask your administrator to verify that the platform lets calls to the AI Gateway endpoints of Cloudera AI Gateway and Inference through. Who can fix it: an administrator. |
| Error code | Description | Recommended action |
|---|---|---|
| HTTP 429 | Response: {"error":{"type":"rate_limit_error","code":"rate_limit_exceeded","message":"Rate limit exceeded. Check x-ratelimit-remaining header for quota status."}} (JSON). This is the rate-limit answer of Cloudera AI Gateway and Inference. On an endpoint that has a rate limit, every 429 arrives with this body, including a 429 that the model server or the external provider sent. Most often, you went over the limit of the endpoint in the current time window: the request limit (requests counted for you), or the token budget (the tokens of each request and its answer together, counted when the answer is sent). With a token budget, the request that uses up the budget still gets its answer. The requests after it are refused until the window resets. Requests sent at the same time can together use more than the budget. The answer normally carries the headers x-ratelimit-limit, x-ratelimit-remaining and x-ratelimit-reset (seconds until the window resets). |
Wait the number of seconds in x-ratelimit-reset and Try again. Send fewer requests at the same time, or spread them out. If the limit is too low for your work, ask the deployment owner to raise it. For a model deployment, use Edit deployment, step Rate limit. For a third-party endpoint, use the API. For more information, see "Deployment Settings: Access Control, Rate Limits, Resources, Storage And Environment Variables". Who can fix it: you (pace of requests) or the deployment owner (the limit). |
| HTTP 429 | Response: status 429 with a different body, for example a JSON error from an external provider. The model server or the external provider refused the request because of its own limits, for example the quota of the provider account. You see this body only on an endpoint without a rate limit. With a rate limit, the same refusal arrives with the body of the previous row. | Read the body. Try again later. If the quota of the provider is used up, inform the deployment or endpoint owner. Who can fix it: the deployment or endpoint owner (provider account), or the provider. |
| Error code | Description | Recommended action |
|---|---|---|
| HTTP 404 | Response: status 404. The body comes from the AI Gateway, not from Cloudera AI Gateway and Inference. The model in your request does not match any model route of this AI Gateway endpoint: a typo, a model of another endpoint, or a model route that was removed. | Call GET …/v1/models on the same endpoint URL: it lists the models this endpoint serves. Use one of those names exactly. Retrying will not help. If the model you need is missing, ask the endpoint owner to add a model route (see "AI Gateway Endpoints"). Who can fix it: you (model name) or the endpoint owner (model routes). |
| HTTP 400 / HTTP 401 / HTTP 403 / HTTP 404 / HTTP 429 / HTTP 5xx | Response: the external provider's own status and error, passed back to you. The provider refused or failed the request. Typically, 401 or 403 means the API key or credentials stored on the endpoint are wrong or expired, 404 means an unknown model name at the provider, 400 means a parameter that the provider does not accept, 429 means the quota of the provider (on an endpoint with a rate limit, it arrives with the rate-limit body of Cloudera AI Gateway and Inference, see Rate Limits), and 5xx means a problem at the provider. Before you see a 5xx, a reset or a connection failure from a third-party endpoint, Cloudera AI Gateway and Inference has already retried the call (by default up to 2 more times). Cloudera AI Gateway and Inference does not retry a 429. After 5 such failures in a row (by default), Cloudera AI Gateway and Inference can also stop sending calls to that provider for a short time. Calls in that time fail immediately with status 503. On an AI Gateway endpoint whose model route has a fallback, Cloudera AI Gateway and Inference tries the fallback one time after a 5xx, a reset, a connection failure or a 401. | Read the message of the provider. For 401 or 403, the credentials stored for the route are wrong or expired. Retrying will not help. The Endpoints pages cannot change the credentials of a route or the provider Model id. The endpoint owner adds a new route with a new route name and the right values, and callers then send the new route name as model (reusing the old route name is refused, see Adding a route). Alternatively, the endpoint owner updates the backend through the API (PATCH /api/v1/ai-gateway/backends/{id}). A third-party endpoint is changed through the older third-party endpoint API. For 404, ask the endpoint owner to verify the provider Model id of the route in the same way. For 5xx, Try again in a few moments or check the status page of the provider. Who can fix it: the endpoint owner (credentials, model id) or the provider (outages). |
| HTTP 500 | Response: status 500. The gateway sets the body, not Cloudera AI Gateway and Inference, and the body can be empty. The route of the endpoint on the gateway is not fully set up: a backend it points to does not exist (yet), for example right after the endpoint or a model route was created or changed. | Wait a few moments and Try again. If the error persists, inform the endpoint owner and Ask your administrator. Who can fix it: an administrator. |
| Error code | Description | Recommended action |
|---|---|---|
| HTTP 504 | Response: status 504. The serving platform sets the body, not Cloudera AI Gateway and Inference, and the body is often a short plain-text message. The deployment had no replica ready (it was scaled down to zero, or all replicas were busy), and the model did not answer within the time limit. Starting a replica (finding a node, downloading the image, loading the model) can take longer than the limit, which is most likely for 120-second tasks. | Wait until the deployment displays Ready in the Model deployments list (Running on its page) and Try again. To avoid cold starts, ask the deployment owner to set the Minimum of the Autoscale Range to 1 or more. Who can fix it: you (retry when ready) or the deployment owner (minimum replicas). |
| HTTP 504 / HTTP 200 | Response: status 504. The serving platform sets the body, not Cloudera AI Gateway and Inference, and the body is often a short plain-text message. The model took longer than the time limit to finish (120 seconds for most non-chat tasks), or longer than the platform allows to start answering. When the answer is streamed, the status stays as the model sent it (normally 200). The timeout message is added at the end of the output, and the stream stops. | Retrying the same request is likely to time out again. Send a smaller request: a shorter input, a lower max_tokens, or fewer items per call. The time limit cannot be changed in Cloudera AI Gateway and Inference. Who can fix it: you. |
| HTTP 504 | Response: status 504. The body comes from the gateway, not from Cloudera AI Gateway and Inference. The request did not complete within the time limit of the serving gateway. This is a default limit of 1 hour, which an administrator can change. It applies to AI Gateway endpoints, third-party endpoints, deployments with a rate limit, and deployments that use the OpenAI-compatible API for text generation (chat), image-and-text-to-text, embedding or text-to-speech. When the answer is streamed and has already started, the stream stops at the limit instead, and the status stays as the model sent it (normally 200). | Send a smaller request. Retrying the same request is likely to time out again. If your requests need more time, Ask your administrator to raise the limit of the serving gateway. Who can fix it: you, or an administrator (the limit). |
| HTTP 503 | Response: status 503. The serving platform sets the body, not Cloudera AI Gateway and Inference, and the body is often a short plain-text message. The deployment is busy: a concurrency limit was set for it through the API, which limits how many requests each replica handles at a time, and the queue of waiting requests is full. | Wait a moment and Try again with fewer requests at the same time. Ask the deployment owner to raise the Maximum of the Autoscale Range, or the concurrency limit through the API. Who can fix it: the deployment owner. |
| HTTP 502 | Response: status 502, with a short technical text that varies, for example a connection error. The container of the model cannot be reached or drops the connection: it crashed, restarted, or closed the connection during the request. | Try again one time. If the problem happens again, open the deployment in Cloudera AI Gateway and Inference and verify its status and the Events and Logs tabs (see "Logs And Events"): the model might be crashing or running out of memory. Inform the deployment owner. Who can fix it: the deployment owner. |
| Error code | Description | Recommended action |
|---|---|---|
| HTTP 403 | Response: status 403. The body is not from Cloudera AI Gateway and Inference and can differ. The in-cluster call has no Authorization: Bearer … header, or its path does not start with /namespaces/ (for example a call to the Cloudera AI Gateway and Inference API through this address). |
Add Authorization: Bearer <token> and call an endpoint path. Call the Cloudera AI Gateway and Inference API at its own address, not through the inference address. If AI Gateway endpoints answer 403 with a valid token, see "Permissions (Authorization)". Who can fix it: you. |
| HTTP 400 | Response: status 400. The body is not from Cloudera AI Gateway and Inference. The path contains an encoded slash or backslash (%2F or %5C), which the in-cluster address refuses. |
Do not percent-encode / or \ in the URL path. Retrying will not help. Who can fix it: you. |
| Error code | Description | Recommended action |
|---|---|---|
| HTTP 404 | Response: {"error":{"code":"not_found","message":"only /namespaces/ paths are served"}} (JSON). The inference address of Cloudera AI Gateway and Inference does not serve the path you called. On Anywhere Cloud this address handles both the endpoint URLs displayed in Cloudera AI Gateway and Inference and in-cluster calls. The message is the same for every /namespaces/… path it does not serve: a namespace of another Cloudera AI Gateway and Inference instance, a path that is not an endpoint path, an AI Gateway endpoint name with capital letters, or an AI Gateway endpoint name longer than 63 characters. |
Use /namespaces/<namespace>/endpoints/<endpoint name>/…, or /namespaces/<namespace>/ai-gateway/endpoints/<endpoint name>/… for an AI Gateway endpoint, with the namespace and the name written exactly as in the URL of the endpoint in Cloudera AI Gateway and Inference (lower case). Retrying will not help. Who can fix it: you. |
| HTTP 404 | Response: status 404, typically with an empty body (the body can differ). Nothing answers at this address: the deployment is Stopped (stopping removes its address until it is started again), it was deleted, its name in the URL is misspelled, or it was just created or started and its address is not ready yet. | Open the deployment in Cloudera AI Gateway and Inference. If it is Stopped, ask the deployment owner to start it (Start deployment) and wait until it displays Ready in the Model deployments list. Otherwise, copy the Base URL again from the page of the deployment. If the deployment was just created or started, wait a few moments and Try again. Who can fix it: you (URL) or the deployment owner (start). |
| HTTP 404 / HTTP 500 | Response: status 404 or 500, typically with a short plain-text message from the serving platform. The request arrived while the deployment was being updated or deleted, and the version it was sent to is gone. | Wait until the deployment displays Ready again in the Model deployments list and Try again. If the deployment was deleted, see the previous row. Who can fix it: nobody needs to act. The error clears when the update finishes. |
Sign-in and access errors
These messages can appear on any page when you sign in, when your sign-in or token expires, or when you access a page or the API. The following tables list the sign-in and access errors:
| Error code | Description | Recommended action |
|---|---|---|
| Unauthenticated (401) | Pop-up: Sign in again to continue. followed in brackets by the reason, for example one of the rows below. An action you started (deploy, save, start, stop, delete, add or remove a model route, create an endpoint, generate an API key) was refused because Cloudera AI Gateway and Inference cannot confirm who you are. API key generation has its own sign-in reasons, such as (session token is required to generate an access API key) (see Generating An API Key). | Sign in again through the Anywhere Cloud Console and repeat the action. Reloading the page alone does not help: it sends the same sign-in again. |
| Unauthenticated (401) | Pop-up: Sign in again to continue. (no "x-awc-username" header in request) The request reached Cloudera AI Gateway and Inference without your Anywhere Cloud user name. Anywhere Cloud adds it when it passes on a signed-in request, and without it Cloudera AI Gateway and Inference refuses every request, including page loads. Scripts get this message when they call Cloudera AI Gateway and Inference without going through Anywhere Cloud. | Reload the page. If the problem happens again, Sign in again through the Anywhere Cloud Console. If the problem happens again right after you sign in, Ask your administrator: the Anywhere Cloud sign-in in front of Cloudera AI Gateway and Inference might not be set up correctly. Scripts: send requests to the Anywhere Cloud address of Cloudera AI Gateway and Inference, not straight to the service. |
| Unauthenticated (401) | Pop-up: Sign in again to continue. (more than 1 "x-awc-username" header in request) The request carried the user name more than one time. The Cloudera AI Gateway and Inference pages never set this header themselves. A script that adds its own x-awc-username header, or a sign-in set-up that adds it twice, can cause this. |
Scripts: do not set the x-awc-username header, because Anywhere Cloud adds it. In the browser, signing in again does not help: Ask your administrator. |
| Unauthenticated (401) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Sign in again to continue. (no bearer token or hadoop-jwt cookie for the model registry) You deployed or saved a deployment that uses a model from the model registry. Cloudera AI Gateway and Inference reads the model from the registry on your behalf with your sign-in, and your request carried none: no bearer token and no Anywhere Cloud session cookie (hadoop-jwt). |
Sign in again through the Anywhere Cloud Console and deploy or save again. Scripts: send a bearer token (Authorization: Bearer …) or the Anywhere Cloud session cookie. |
| Unauthenticated (401) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): Sign in again to continue. (the caller token has expired or was not accepted for the model registry; sign in again) Your sign-in has expired, or it was not accepted when Cloudera AI Gateway and Inference asked for access to the model registry on your behalf. The message says sign in again twice. | Sign in again and deploy or save again. If the error persists right after you sign in, Ask your administrator. |
| PermissionDenied (403) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): You don't have permission to perform this action. (the model registry token exchange was refused for this user) Anywhere Cloud refused to let Cloudera AI Gateway and Inference read the model registry on your behalf. This message also appears in Models And Registry. | Retrying will not help. Ask your administrator to verify your access to the model registry and that Cloudera AI Gateway and Inference is allowed to read it for users. |
| Unavailable (503) | Pop-up (title "Failed to create deployment" or "Failed to update deployment"): The service is temporarily unavailable. Try again later. (could not obtain a model registry token; try again later) Cloudera AI Gateway and Inference cannot get access to the model registry for you at the moment, for example because the Anywhere Cloud sign-in service that grants this access does not answer or gives an unexpected answer. The message says try again later twice. This message also appears in Models And Registry. | Try again in a few moments. If the problem happens again, Ask your administrator. |
| Unauthenticated (401)` / None (pop-up) / None (page message) | Pop-up or page: no message of its own. Your Anywhere Cloud session has ended, or the session cookie is gone. Anywhere Cloud, not Cloudera AI Gateway and Inference, decides how it answers in that case, so what you see varies. For example, you might see a pop-up that starts with Sign in again to continue. when the refusal comes back as JSON with status 401, the pop-up Network error. Check your connection and try again. when the answer is a page or plain text instead (see General errors), the load error of the page you are on, or a user menu without your name (see the next row). | Sign in again through the Anywhere Cloud Console, and open Cloudera AI Gateway and Inference again. Reloading the page sends the same session again, and Cloudera AI Gateway and Inference does not renew it. |
| None (page message) | Top bar: the user menu displays User instead of your name, no name is displayed next to the menu icon, and the Sign out item is missing. There is no error message. Cloudera AI Gateway and Inference cannot look up who you are or where the Anywhere Cloud sign-out page is. This is often the first sign that your sign-in has ended or that Cloudera AI Gateway and Inference cannot be reached. | Reload the page. If Sign out is still missing and pages fail to load, Sign in again through the Anywhere Cloud Console. If only Sign out is missing and everything else works, Cloudera AI Gateway and Inference does not know the Anywhere Cloud Console address: Ask your administrator to verify it. |
| Error code | Description | Recommended action |
|---|---|---|
| PermissionDenied (403) | Pop-up: You don't have permission to perform this action. followed in brackets by the reason. Cloudera AI Gateway and Inference, or a service it called for you, refused the action. Read the text in brackets. Some 403 reasons are not about your role at all. For example, (model status is not ready) means that the registry model version is not ready yet (see Models And Registry). Other 403 reasons are displayed when Anywhere Cloud refuses to create an API key for you (see Generating An API Key) or refuses registry access (see Sign-In And Token Errors). | Retrying will not help while the reason stays the same. If the text in brackets names a state, such as "not ready", wait for it to change, and Try again. If it names a private model owned by someone else, ask the model owner to make it public or to deploy it. Otherwise, Ask your administrator for the access you need, and send them the full message. |
| None (page message) | Red box or error panel on the page: a title such as Failed to load deployments., Failed to load deployment., Failed to load endpoints. or Failed to load endpoint. with Something went wrong reaching the service. Check your connection and try again. and a Retry button. The page could not load its data. Some failures are retried automatically before this message is displayed (see the notes under General errors). The page does not show the reason. The same text is displayed for a lost connection, an ended sign-in (401), a refused permission (403), an item that no longer exists (404) and a server failure (500). The exact boxes are listed in Model deployment errors and AI Gateway Endpoints. | Click Retry. If the problem happens again, Reload the page. If other Anywhere Cloud pages work but this one still fails, Sign in again through the Anywhere Cloud Console. If the problem happens again, Ask your administrator and inform them of the page and the time. |
| Error code | Description | Recommended action |
|---|---|---|
| None (pop-up) | Pop-up: Network error. Check your connection and try again. Sometimes followed by text in brackets. The page did not get an answer it can read from Cloudera AI Gateway and Inference. This happens when the browser gets no answer at all. The text in brackets is then the wording of your browser, for example Failed to fetch. It also happens when an error answer is not JSON, for example when something between your browser and Cloudera AI Gateway and Inference, such as a gateway, answered with its own error page, plain text or an empty body. The status of that answer is lost, and the headline is displayed alone, even when the real cause is an ended sign-in or a service restart. Finally, it happens when the page itself found a problem it has no status for. The text in brackets then comes from the page, for example (API key is missing from response) (see Generating An API Key). | Verify your network connection, Reload the page, and Try again. If other Anywhere Cloud pages work but the error recurs, Sign in again through the Anywhere Cloud Console. If the error persists, Ask your administrator: Cloudera AI Gateway and Inference or the gateway in front of it might be down. |
| InvalidArgument (400) / FailedPrecondition (400) | Pop-up: Invalid request. Check your input and try again. followed in brackets by the reason. The service refused what was sent. This headline also appears when the reason is the current state of the item, not your input (for example an item that is not ready yet), and when there was nothing for you to type. | Read the reason in brackets. If it is about something you entered, Fix the field it names and send again. Retrying will not help with unchanged input. If it is about the state of an item (for example, the item is not ready yet), wait until the item reaches the state it needs, and Try again. |
| Unauthenticated (401) | Pop-up: Sign in again to continue. followed in brackets by the reason. Cloudera AI Gateway and Inference cannot confirm who you are. For more information, see Sign-In And Token Errors. | Sign in again through the Anywhere Cloud Console and repeat the action. |
| PermissionDenied (403) | Pop-up: You don't have permission to perform this action. followed in brackets by the reason. Cloudera AI Gateway and Inference, or a service it called for you, refused the action. The headline also appears when the reason is not about your access, for example (model status is not ready) when the model version you deploy is not ready yet in the AI Registry. For more information, see Access And Permissions. | Read the reason in brackets. If it says "model status is not ready", wait until the version is ready in the AI Registry and Try again. If it names a private model owned by someone else, ask the model owner to make it public or to deploy it. Otherwise, Ask your administrator for access. |
| NotFound (404) | Pop-up: The resource was not found. It may have been deleted. followed in brackets by the reason. The deployment, endpoint, route or other item you acted on does not exist, or no longer exists. Some 404 reasons are about something else that is missing. The text in brackets says what. | Reload the page to see the current list. Retrying will not help. If the item is gone, someone deleted it. |
| AlreadyExists (409) / Aborted (409) | Pop-up: That name is already in use. followed in brackets by the reason. Every 409 answer displays this headline, so it also appears for conflicts that have nothing to do with a name. | If the text in brackets is about a name, select another name. Otherwise, wait a moment and Try again. |
| Unknown (500) / Internal (500) | Pop-up: Something went wrong on the server. Try again later. followed in brackets by the reason. The service encountered a problem while it handled the request. The text in brackets can be technical. | Try again in a few moments. If the problem happens again, Ask your administrator and send them the text in brackets and the time. |
| Internal (500) | Pop-up: Something went wrong on the server. Try again later. (internal error) The service failed unexpectedly while it handled this request. Nothing you entered is known to have caused it. | Try again one time. If the problem happens again, Contact support with the time and what you did. |
| Unavailable (503) | Pop-up: The service is temporarily unavailable. Try again later. followed in brackets by the reason. A service that Cloudera AI Gateway and Inference depends on cannot be reached right now. A 503 answer that is a page or plain text, for example from a gateway in front of Cloudera AI Gateway and Inference, displays Network error. Check your connection and try again. instead. | Wait a few moments and Try again. If the error persists, Ask your administrator. |
| ResourceExhausted (429) / Unimplemented (501) / HTTP 502 | Pop-up: Request failed (HTTP …). where … is the status number, for example Request failed (HTTP 429)., Request failed (HTTP 501). or Request failed (HTTP 502)., followed in brackets by the reason when there is one. Every status not listed in the previous rows displays this headline. 429 means a limit was hit, for example the maximum number of model routes, or the size limit of a request or an answer. It is not always a rate limit. 501 means the operation is not available on this installation or through this route. A 502 or 504 displays this headline only when the answer came as JSON. A 502 or 504 page or plain-text answer, for example from a gateway, displays Network error… instead. |
For 429, read the reason in brackets. Retrying will not help if the reason names a limit or says that the message is "larger than max". In that case, remove items or make the request smaller. For more information, see the "grpc: received message larger than max" row in "Using The API Or Scripts" in this section. For 501, the action cannot be done here: Ask your administrator. For 502, Try again later. |
| None (page message) | Page: Something went wrong. with one line of technical text under it. The page failed while it was being drawn in your browser. The whole Cloudera AI Gateway and Inference area is replaced, including its top bar and sidebar, and there is no Retry or Back button. The line under the heading is the technical reason, for example a script error. It can also read Unknown error or code-like text such as {}. A server error never leads to this page. |
Reload the page, or use the Back button of the browser. If the problem happens again on the same page, Contact support with the text under the heading and the page address. |
| None (page message) | Page: Something went wrong. with a message from your browser that a module or script could not be loaded, for example Failed to fetch dynamically imported module: …, error loading dynamically imported module: … or Importing a module script failed.. Cloudera AI Gateway and Inference was updated while your page was open and part of the old version no longer exists, or the browser could not download that part. Cloudera AI Gateway and Inference first reloads the page one time by itself. You see this page only when that did not help. | Reload the page. If the problem happens again, clear the browser cache for the site and reload again. |
| None (page message) | Page: Something went wrong. in plain, unstyled text, with technical text in a block under it. A part of Cloudera AI Gateway and Inference outside its pages failed while it was being drawn, for example while Cloudera AI Gateway and Inference was starting or while it showed its own error page. | Reload the page. If the problem happens again, Contact support with the text under the heading. |
| None (page message) | Page: Page not found. The address does not exist in Cloudera AI Gateway and Inference, for example an old or mistyped link. The top bar and the sidebar stay. There is no link back. | Use the sidebar to open Model deployments or Endpoints. |
| Error code | Description | Recommended action |
|---|---|---|
| NotFound (404) | Not Found The address matches no API operation, for example because of a typo or a wrong version prefix (/api/v1/ or /api/v1alpha1/). A few older operations, such as /api/describeService, have no version in the path. |
Verify the path and the version prefix against the API reference. |
| Unimplemented (501) | Method Not Allowed The address exists, but not for this HTTP method, for example PUT /api/v1/deployments/{id}. The status is 501, not 405. |
Use the method from the API reference. /api/v1/ operations use GET, POST, PATCH or DELETE. /api/v1alpha1/ operations use POST. |
| InvalidArgument (400) | The text of the JSON parser, for example invalid character '…' looking for beginning of value, unexpected EOF or invalid character '…' after object key. The request body is not valid JSON. An empty body is accepted and treated as a request with no fields. Anything after the first complete JSON value is ignored. | Verify the quotes, commas and brackets, and send again. |
| InvalidArgument (400) | Text starting with proto: , for example proto: (line …:…): invalid value for … field …: …, proto: syntax error (line …:…): unexpected token …, proto: (line …:…): duplicate field … or proto: (line …:…): error parsing "…", oneof … is already set. A field has the wrong kind of value, the body is not a JSON object, a field is displayed twice, or you set two fields of which only one can be set. The message gives the line, the column and the field. | Fix the value at that position: strings in quotes, numbers without quotes, enum values as their names. Do not match on the exact text in scripts. Check the error code (InvalidArgument, HTTP 400) instead. |
| None (ignored) | No message. In JSON requests, fields the service does not know and unknown enum names are skipped without a warning. Unknown query parameters are also ignored. The next error is often a … is required message for a field you did send. | When you get a "… is required" message for a field you sent, verify its spelling and its enum value. |
| None (no check) | No message. The service never answers 415. Every body is read as JSON unless the request says Content-Type: application/yaml. A non-JSON body therefore fails with one of the JSON parser messages in the previous rows. |
Send JSON, or send YAML with Content-Type: application/yaml. |
| InvalidArgument (400) | parsing field "…": … (for example parsing field "page_size": strconv.ParseInt: parsing "abc": invalid syntax, or parsing field "…": "…" is not a valid value for an enum), too many values for field "…": …, field already set for oneof "…", invalid path: "…" is not a message, parsing list "…": …, invalid URL escape "%…" or invalid semicolon separator in query. A query parameter has a value the service cannot read, or the query string has a broken % escape or a ;. |
Fix the named parameter. Numbers must be plain digits, enum values must be their exact names, and a single-value parameter must be displayed only one time. Separate parameters with & and encode special characters in the query string correctly. |
| InvalidArgument (400) | request body too large: exceeds 10485760 bytes, error converting YAML to JSON: … or error unmarshaling JSON: while decoding JSON: …. You sent YAML (Content-Type: application/yaml) and the body is over 10 MiB, is not valid YAML, or contains a field or value the service does not accept. Unlike JSON, YAML requests reject unknown fields. In error converting YAML to JSON, the line number refers to your YAML text. In error unmarshaling JSON, the line and column refer to the body after conversion to JSON, not to your YAML text. |
Keep the body under 10 MiB, verify the YAML syntax and the field names, or send JSON instead. |
| ResourceExhausted (429) | grpc: received message larger than max (… vs. 4194304) The request, or the answer to it, is larger than 4 MiB (4194304 bytes) after the service converts it to its internal binary format, which is typically smaller than the JSON. The first number is the size that was refused. Despite the 429 status, this is a size limit, not a rate limit. | Retrying will not help. Send a smaller request. For lists, ask for fewer items per page or use filters. |
| InvalidArgument (400) / DeadlineExceeded (504) | invalid grpc-timeout: … (… is the header value) or context deadline exceeded. The Grpc-Timeout header is not in the form <digits><unit> (unit H, M, S, m, u or n), or the time it gives runs out before the call finishes. |
Leave out the Grpc-Timeout header, or give a larger value such as 60S. |
| Internal (500) | grpc: error while marshaling: … A query parameter or a part of the address contains bytes that are not valid UTF-8 text, for example %FF. |
Send all parameters and IDs as UTF-8 text. |
| Any code (HTTP status of the code) | Log streams (GET /api/v1/deployments/{id}/logs and GET /api/v1/service/logs) wrap the error in an error object: {"error":{"code":…,"message":"…","details":[]}}. The messages are the same as everywhere else, sign-in errors included, but these answers carry no WWW-Authenticate header. If the error comes before any log line, the HTTP status matches the code. If it comes after some log lines, it arrives as the last line and the HTTP status is already 200. Errors in the request itself, such as a bad query parameter or a bad Grpc-Timeout header, come back in the usual form without the error wrapper. |
In scripts, verify each line for an error key, not only the HTTP status. |
| HTTP 400 / HTTP 431 / HTTP 301 | 400 Bad Request, 431 Request Header Fields Too Large, or a redirect with an empty body. The request is malformed at the HTTP level: a bad % escape in the path, headers larger than about 1 MiB, or a path with //, /./ or /../ (redirected to the cleaned path). The Anywhere Cloud gateway in front of Cloudera AI Gateway and Inference might reject such a request first with its own answer. |
Verify the URL encoding and the header sizes, and use clean paths. |
| HTTP 400 / HTTP 500 / NotFound (404) | Log archive download (POST /api/v1alpha1/getClusterLogArchive), plain text: Invalid JSON (400) means that the body is empty, is not JSON, or has a value of the wrong type. rpc error: code = … desc = … (500) means that the log archive service cannot be called. error occurred while returning file contents: rpc error: code = … desc = … means that the archive cannot be read or the download broke, with a reason after desc = such as Archive not found for read!, Archive is not complete! or, when archiveId is missing or not a number, strconv.Atoi: parsing "…": invalid syntax. Unknown fields are ignored, so a misspelled archiveId key (for example archive_id) gives the strconv.Atoi text, not Invalid JSON. The last message comes with status 500, unless part of the file was already sent. In that case, the status stays 200 and the text is added to the end of the file. A GET to this address answers {"code":5,"message":"Not Found","details":[]}. |
Use POST with a JSON body such as {"archiveId":"…"}, with the ID from the archive list. Wait until the archive list displays the archive as COMPLETE and download it again. A file that ends with "error occurred while returning file contents" is incomplete: download it again. If the error persists, Ask your administrator. |
| HTTP 502 | Metrics (/prometheus/…): an empty answer. Cloudera AI Gateway and Inference cannot reach its metrics store. Serving is not affected. |
Try again later. If the problem happens again, Ask your administrator. |
| HTTP 404 | 404 page not found (plain text) for the API reference or the Python client download (/api/v1/client/swagger.json, /api/v1/client/python, /api/v1alpha1/client/swagger.json, /api/v1alpha1/client/python). The file is missing from this installation. |
Contact support: this is an installation problem. |
