invalid_model
Deploying a model, HTTP status 400.
HTTP status 400.
What happened: The model name is not in a form BitsRun understands.
How to fix it: Use an Ollama name (qwen3:8b), a Hugging Face repo or link (hf:unsloth/Qwen3-8B-GGUF, or paste the page or file link), or one of your uploads (upload:<id>). See Choose a model.
How it looks
The response has HTTP status 400 and a JSON body with the same three fields as every BitsRun error:
json
{ "error": { "code": "invalid_model", "message": "...", "requestId": "01k9a2b3c4d5e6f7g8h9j0k1m2" } }- code never changes, so your code can check for it and react.
- message says what happened in plain words; show it to your users or log it.
- requestId identifies this request. Include it when you write to support@bitsrun.com.
The bitsrun command line prints the message and the request id; add --json to see the full error.
Still stuck? Email support@bitsrun.com with the requestId from the error and a real person will look into it.
Other deploying a model errors
- model_not_found
- model_gated
- model_no_access
- hf_token_invalid
- model_importing
- imports_busy
- import_failed
- model_custom_code
- model_task_unsupported
- model_choose_file
- model_helper_file
- model_split_unsupported
- model_quant_not_found
- model_too_large
- gpu_too_small
- invalid_gpu
- invalid_name
- invalid_idle_timeout
- endpoint_limit_reached
- credit_required
Every code on one page: Error codes in the docs.