Janitor AI Proxy Error | 400, 402, 429, and "Unknown Response [object Object]"
A Janitor AI proxy error shows the provider's status code: 400 means a rejected setting such as Max tokens, 401 the API key, 404 the Proxy URL or model name, 402 a balance that cannot cover Max tokens, and 5xx a provider problem. For [object Object], send the message again.
A Janitor AI proxy error is the status code and reply that your proxy provider sent back, passed through by Janitor. The number tells you where to look: 400 means a setting the provider rejected (on ULK Cloud, usually Max tokens or an extra parameter), 401 the API key, 404 the Proxy URL or model name, 402 the balance (including a balance that cannot cover your Max tokens), 429 too many requests, and 500 to 504 a problem on the provider's side. "Unknown response: [object Object]" usually means no usable reply came back, so send the message again.
The ULK Cloud results below come from requests sent to https://api.ulkcloud.com on 2026-11-30 in the same shape Janitor AI sends: from the origin https://janitorai.com, with top_k, repetition_penalty, and transforms included. To set up the proxy itself, see how to connect a Janitor AI proxy.
Janitor AI proxy error codes at a glance
Each row is one status code. "From ULK Cloud" is what ULK Cloud returns for that code; the rest comes from Janitor's help center and applies to other providers.
| Code | Usual cause | Fix | From ULK Cloud |
|---|---|---|---|
| 400 | A setting the provider rejects | Read the message; lower Max tokens or remove the named parameter | invalid_value, unsupported_parameter |
| 401 | Wrong or missing API key | Paste the key again without spaces | invalid_api_key |
| 402 | Balance or spending limit too low | Lower Max tokens, or top up | insufficient_balance, monthly_limit_reached |
| 403 | Blocked by the provider or Janitor | See the 403 section | Never returned |
| 404 | Wrong Proxy URL or model name | Fix the URL or the model ID | unknown_url, model_not_found |
| 429 | Too many requests | Wait, then send again | rate_limit_exceeded |
| 500 | Error inside the provider | Send again later | internal_error |
| 502 / 504 | Model unavailable or too slow | Send again | upstream_error / upstream_timeout |
| 503 | Provider overloaded | Wait or switch models | Never returned |
ULK Cloud does not charge for requests rejected with 400, 401, 402, 404, or 429, or for 502 and 504 errors.
A Janitor AI proxy error contains two parts: the status code and the body of the provider's reply. Janitor's help center shows them in the form PROXY ERROR 401: {"detail":"Invalid token."}. The code tells you the category; the body tells you the exact cause.
ULK Cloud's reply body always has the same four fields, in the same format as OpenAI's API:
{
"error": {
"message": "max_tokens is too large: 200000. This model supports at most 131072.",
"type": "invalid_request_error",
"param": "max_tokens",
"code": "invalid_value"
}
}
code is a short name for the error, and message says what to change. ULK Cloud adds access-control-allow-origin: * to error replies too (checked 2026-11-30), so the browser lets Janitor read the body instead of hiding it behind a "Failed to fetch".
Janitor AI proxy error 400: Max tokens, parameters, and values
A Janitor AI proxy error 400 from ULK Cloud means one of the generation settings was rejected before it reached the model. ULK Cloud does not ignore settings it cannot use; it names them. These are the 400 replies we received on 2026-11-30:
| Request | code | message |
|---|---|---|
max_tokens 200000 on glm-5.3-uncensored | invalid_value | max_tokens is too large: 200000. This model supports at most 131072. |
A parameter ULK Cloud does not accept, such as min_p | unsupported_parameter | Unsupported parameter: 'min_p'. |
temperature 3 | invalid_value | Invalid value for 'temperature': Too big: expected number to be <=2 |
How to fix each one in Janitor AI:
max_tokens is too large: lower Max tokens in Janitor's generation settings. The highest accepted value is 131,072 for the GLM-5.3 models, 262,144 fordeepseek-v4.1-flash-abliterated, and 393,216 fordeepseek-v4.1-flash. A roleplay reply rarely needs more than 4,000.Unsupported parameter: the quoted name is a parameter ULK Cloud does not support. Janitor's owntop_k,repetition_penalty, andtransformsare accepted (and not passed to the model), so this usually comes from a custom setting or a different app. Remove the named parameter.Invalid value for 'temperature': ULK Cloud accepts Temperature from 0 to 2 and Top P from 0 to 1. Move the slider back into range.
A fourth 400, model_rejected_request ("The model could not process this request. Check the request parameters. You were not charged."), means the model itself refused the request format. Check your settings and send again.
Janitor AI proxy error 401 and 404: API key, Proxy URL, and model name
A 401 or 404 from ULK Cloud means one of the three connection fields in Janitor's proxy configuration is wrong. ULK Cloud checks the API key before the URL, so a wrong key and a wrong URL together show only the 401. Fix it first.
- 401
invalid_api_key: the message beginsIncorrect API key provided. Send your key as 'Authorization: Bearer sk-ulk-...'.Paste the key into API Key again, without spaces before or after it. A ULK Cloud key starts withsk-ulk-. If the key was deleted in the console, create a new one. - 404
unknown_url: the Proxy URL is incomplete or doubled. A URL that stops at/v1returnsUnknown request URL: POST /v1., and/chat/completionspasted twice also returnsunknown_url. The Proxy URL must be exactlyhttps://api.ulkcloud.com/v1/chat/completions. - 404
model_not_found: the Model Name is not a ULK Cloud model ID. Fordeepseek-chat, the reply wasThe model 'deepseek-chat' does not exist. See GET /v1/models .... Use one of the six IDs exactly:glm-5.3-uncensored,glm-5.3-abliterated,deepseek-v4.1-flash-abliterated,glm-5.3,glm-5.3-flash, ordeepseek-v4.1-flash. Names from another provider, such as DeepSeek's or Chutes', do not work on ULK Cloud.
After changing any of the three fields, save the configuration and refresh the Janitor page before testing again.
Janitor AI proxy error 402 when your balance is not empty
A Janitor AI proxy error 402 with insufficient_balance can appear even when your ULK Cloud balance is above zero, because ULK Cloud holds the most a reply could cost before it starts. Lowering Max tokens in Janitor usually fixes it without a top-up.
When a request arrives, ULK Cloud cannot know how long the reply will be, so it holds this amount from your balance:
- Output: the full Max tokens at the model's output price.
- Input: an estimate of your chat history and character card (ULK Cloud counts about 4 English characters as 1 token), plus 50% and 64 tokens of margin, plus room for the prompt that Uncensored and Abliterated models add to every message (16,000 tokens reserved on the GLM-5.3 Uncensored and Abliterated models, 8,000 on
deepseek-v4.1-flash-abliterated).
When the reply ends, you pay only for the tokens actually used, and the rest of the hold is released. If the hold is larger than your balance, the request is refused with 402 and nothing is charged.
Example: a chat of about 32,000 English characters (about 8,000 tokens). ULK Cloud reserves 28,064 input tokens for it on the GLM-5.3 Uncensored and Abliterated models.
| Model | Max tokens | Held before the reply | Prices (1M in / out) |
|---|---|---|---|
glm-5.3-abliterated | 32,768 | about $0.28 | $3.00 / $6.00 |
glm-5.3-abliterated | 1,000 | about $0.09 | $3.00 / $6.00 |
glm-5.3-uncensored | 32,768 | about $0.046 | $0.35 / $1.10 |
glm-5.3-uncensored | 1,000 | about $0.011 | $0.35 / $1.10 |
With $0.25 left, glm-5.3-abliterated at Max tokens 32,768 returns 402, although a 400-token reply in that chat would cost only about $0.04. At Max tokens 1,000, the same message goes through. Requests still being generated (a swipe while another reply is streaming, for example) also hold part of the balance until they finish.
The other 402, monthly_limit_reached, means the API key hit the monthly spending limit you set on it. Raise the key's limit in the ULK Cloud console, or lower Max tokens.
Janitor AI proxy error 429: too many requests
On ULK Cloud, a Janitor AI proxy error 429 has one cause: one API key sent more than 1,000 requests in a minute. The message is Rate limit reached: 1000 requests per minute per API key. Please retry after a short wait. Wait a minute and send again.
Normal chatting does not come close to 1,000 a minute. If you see this 429, check whether the same key is used by another app or person at the same time, and create a separate key for each.
ULK Cloud never passes on a 429 from the model provider behind it; that case comes back as 502. On other providers, Janitor's OpenRouter error guide says a 429 usually means a daily or per-minute cap, and that free accounts' daily limits reset at midnight UTC.
Janitor AI proxy error 500, 502, 503, and 504
The 5xx Janitor AI proxy errors mean the problem is on the provider's side, not in your settings. Send the message again; if it keeps failing, wait a few minutes or switch to another model.
- 500
internal_error:An unexpected error occurred. Please try again later.ULK Cloud's operators are notified automatically. - 502
upstream_error:The model is temporarily unavailable. You were not charged. Please try again. - 504
upstream_timeout:The model did not respond in time. You were not charged. Please try again. - 503: ULK Cloud does not return 503. Janitor's help center attributes a 503 on Chutes ("No instances available") to an overloaded or restarting model, and advises waiting a few minutes.
If a streamed reply stops partway because of an error, ULK Cloud charges only for the text already sent to you; if nothing was sent, nothing is charged.
Janitor AI proxy error 403 and "Unknown response: [object Object]"
ULK Cloud's chat API never returns 403, so a 403 in Janitor while using ULK Cloud does not come from ULK Cloud. Janitor's help center says a 403 can come from Janitor's content filter (when posting a comment or review) or from Cloudflare and network issues (when logging in), and that there is no direct fix. With another provider, the 403 body names the reason; read it.
"Unknown response: [object Object]" is Janitor's own message, not a code from the provider. Janitor's OpenRouter error guide says it usually means a message limit was reached or the model returned no data. Send the message again or try another model. If it repeats on ULK Cloud, turn Text streaming off and send once more. Without streaming, ULK Cloud returns every error with its status code and message, so you can match it to the sections above. With streaming on, an error that happens after the reply has started is sent inside the stream, after a 200 status.
FAQ
What does "PROXY ERROR 400" mean on Janitor AI?
It means the proxy provider rejected a setting in the request. On ULK Cloud, the message names the setting: max_tokens is too large means lower Max tokens, and Unsupported parameter: '...' names a parameter to remove.
Why do I get 402 on Janitor AI when I still have credits?
ULK Cloud holds the most a reply could cost, based on Max tokens, before generating. Lower Max tokens to 1,000 to 4,000 and the hold shrinks; you still pay only for the tokens actually used.
How do I fix "Unknown response: [object Object]" on Janitor AI?
Send the message again or switch models. Janitor's help center says the message usually means a message limit was hit or the model returned no data.
Am I charged when a Janitor AI proxy request fails?
On ULK Cloud, no charge is made for 400, 401, 402, 404, or 429 rejections, or for 502 and 504 errors. A streamed reply that fails partway is charged only for the text already sent.
Does ULK Cloud return 403 or 503 errors?
No. A 403 or 503 shown while connected to ULK Cloud comes from Janitor or the network. Janitor's help center attributes 403 to its content filter or Cloudflare, and 503 to overloaded providers such as Chutes.