Skip to content
EN
Get started

Janitor AI Network Error and 401 Unauthorized: Which Login, Key or URL Failed

Janitor AI says Unauthorized, 401 or network error? Find out whether your login, your API key or the proxy URL failed, with exact URLs and one curl test.

Billal AinaouiAugust 24, 2026Updated November 24, 202613 min read

Janitor AI Network Error and 401 Unauthorized: Which Login, Key or URL Failed

On Janitor AI, 401 Unauthorized means a login or API key was refused; a network error means no usable answer arrived. If Janitor's own model fails too, log out and back in; if only your proxy fails, check its key and exact URL. When it hits everyone at once, as on November 19, 2026, only Janitor can fix it.

Which message, which cause, what to try first

What you seeLikely causeFirst fix
Unauthorized on Janitor's own modelYour login expired or was endedLog out and log back in
The session time has expiredJanitor could not renew your loginLog in again
401 with a proxy setThe provider refused your keyA new key, pasted clean
A network error occurredWrong URL, or no refresh after savingThe exact URL, save, refresh
Network Error after Check Key/ModelJanitor calls that button buggyIgnore it, save, refresh
Access Restricted or 403Cloudflare refused your connectionPrivate window, another network

Janitor AI help center and Janitor's site code, read November 24, 2026

Unauthorized on Janitor's own chats: the login

Janitor's site sends each request to Janitor's servers with a login token from your session. When those servers answer 401, the site renews the token once and sends the request again. If the renewal fails, it shows "Error. The session time has expired. Please login again." A request that carried no token at all gets no second try. We read this in the site's public code on November 24, 2026.

Janitor's own article on the 401 points the same way. It names "cookies not refreshing properly, browser-related bugs, or access being blocked via IP" as causes. Its steps, in its own order:

  1. Log out, then log back in. Make sure you know your password before you do.
  2. Open Janitor in a private window.
  3. Try another browser.
  4. Clear the browser's cache and cookies. This logs you out, so skip it if you do not know your login.
  5. As the last step, change your network. Janitor's Cloudflare article names mobile data or another Wi-Fi as ways to do that.

Janitor has given this fix before. After a database migration on January 29, 2026, its changelog told anyone seeing "unauthorized" errors to "just log out and log back in." Since May 11, 2026, its account settings also list every active session and can "sign out individual sessions or every other device at once". A device signed out that way needs a new login.

One test splits the two kinds of 401. Start a new chat on Janitor's own model. If it fails too, the problem is your login or Janitor itself. If it replies and only your proxy fails, the key or the URL is at fault. Janitor's network-error article uses the same test: if its own model works, "the issue is with the proxy server".

When everyone sees it at once

On November 19, 2026, Janitor posted that "janitorai.com is on hold after a false abuse report, so use jani.com while we work on getting it back." The .com registry's record shows the domain last changed at 02:00 UTC on November 20, 2026.

Searches for this error came in the same wave. Google showed this page 1,130 times on November 19, and not once on any of the nine days before. Of the 13 search terms Google named that day, 11 carried "unauthorized" or "unauthorised". The most frequent was "why is it saying unauthorized on janitor ai".

How often Google showed this page, per day, November 10 to 23, 2026Searches such as why is it saying unauthorized on janitor ai
1,130 of the 1,139 showings in 120 days fell on the day janitorai.com was on hold.
Source: Google Search Console for this page, read November 24, 2026 · hproxy.comProxy.

Janitor's status page did not mark that day. Its history lists 11 reports, from July 28 to November 24, 2025, and none since. On November 24, 2026, it read "There have been no reports within the last 7 days."

When the error hits everyone, nothing in your settings changes it. Leave the key and the URL alone, and watch Janitor's newsroom, where the November 19 post appeared, and its changelog. The r/JanitorAI_Official subreddit shows quickly whether others see the same thing.

A 401 with a proxy: the provider refused the key

With a proxy set, Janitor sends your chat to the URL you saved, along with your key. On the website, that request leaves from Janitor's servers. The site's security policy, which tells the browser which addresses a page may contact, names none of the chat addresses of OpenRouter, DeepSeek, Anthropic, Google or Mistral. Janitor also stores each proxy configuration through its own API. A 401 is the provider's answer to that request. The HTTP standard, RFC 9110, defines a 401 as a request that "lacks valid authentication credentials for the target resource".

On November 24, 2026, we sent each of five backends a made-up key. Every answer named the key, and four of the five used 401:

OpenRouter  401  Invalid API key: this is not an OpenRouter API key.
                 OpenRouter keys start with "sk-or-".
DeepSeek    401  Authentication Fails, Your api key: ****0000 is invalid
Anthropic   401  Invalid Anthropic API Key
Mistral     401  Invalid API Key
Gemini      400  Please pass a valid API key

Gemini is the exception. Google's OpenAI-format endpoint answered 400, so on Gemini look for a 400 that names the key. With the key field left empty, the answers changed again. OpenRouter said "No cookie auth credentials found", and Gemini said "Missing or invalid Authorization header."

The causes, from the providers' own pages and our test:

  • The key was revoked, disabled or expired. OpenRouter lists "OAuth session expired, disabled/invalid API key" under 401. Anthropic's 401 covers a key that is malformed, revoked or expired. Make a new key and paste it again.
  • The key belongs to another provider. OpenRouter's answer to our made-up key said that its keys start with sk-or-. Match each key to its own URL.
  • A space or line break came with the paste. Delete the field, paste the key again, and check both ends.
  • The key field is empty, or the settings were not saved. An empty field drew a 401 from four backends and a 400 from Gemini.
  • The account has no balance. That is a 402 on OpenRouter, on DeepSeek ("Insufficient Balance") and on Anthropic. OpenRouter adds that a negative balance can block even its free models.
  • The key was someone else's. A key copied from a shared post stops working once its owner revokes it. Use your own.

Janitor's error guide also lists a 402 for too little balance and three 404s, for provider settings, a retired model and privacy settings. Our no endpoints found page handles the 404s, and the 429 page the rate limits.

Is it the key or the URL? What a wrong address answers

A 401 does not always prove that the URL is right. We sent four common address mistakes to each backend, with the same made-up key: the base URL without /chat/completions, a trailing slash, a repeated segment, and a space at the end.

Four wrong URLs per backend: how many came back as a key errorMade-up key; base URL only, trailing slash, repeated segment, space at the end
OpenRouter404 Not Found all four times
0 of 4
Gemini400 for the trailing slash
1 of 4
Mistral401 for the slash and the repeat
2 of 4
DeepSeek401 Authentication Fails
4 of 4
Anthropic401 invalid x-⁠api-⁠key
4 of 4
On DeepSeek and Anthropic, a 401 for a bad key says nothing about the URL.
Source: HProxy measurement, November 24, 2026: 43 requests with a made-up key from a home connection in Germany · hproxy.comProxy.

On OpenRouter, all four came back as 404 Not Found, so there a wrong path shows as a 404 and a 401 points at the key. DeepSeek and Anthropic answered all four with the key error, because they judge the key before the path. With a bad key on those two, a 401 says nothing about the URL. Anthropic's wording still tells the two apart: "Invalid Anthropic API Key" on the chat path, "invalid x-api-key" on a wrong one. Gemini answered 404 to three mistakes and 400 to the trailing slash. Mistral answered 404 to the base URL and the space, and 401 to the other two.

Two more mistakes turn up in pasted settings. Plain http drew a redirect from OpenRouter and Mistral (301) and from DeepSeek (307). Google refused it with a 403: "SSL is required to perform this operation." Anthropic refused it with a 400 and this advice: "Consider revoking your API key, as it was sent in plaintext over the internet with this request." If you ever saved an http URL with a real Claude key, replace that key.

A website address in place of the API's brings back a web page or a redirect. We got 404 pages from OpenRouter and Mistral, a 403 page from DeepSeek's site, a redirect to Google's sign-in, and a plain Not Found from Anthropic's site. Janitor has a help article for an HTML page in place of a reply, and its first step is to read the page's title line. A host name that does not exist gets no answer at all, and curl reports "curl: (6) Could not resolve host".

Our own capture, November 24, 2026, 21:18 UTC: curl 8.16.0 on our machine, printed word for word. The key is made up, and no real key or address of ours is in it.

The network error: the URL or a stale page

Janitor's OpenRouter error guide starts with four steps before any message. Check that the configuration says Active, and press Save Settings even if nothing changed. Then refresh the whole page, open the configuration again and press Test. For "A network error occurred", the guide says: "Most likely, your API URL is wrong, or you didn’t refresh after saving changes." A bare "Network Error" after the Check Key/Model button is a different thing. Janitor calls that button "buggy" and says to ignore it, save and refresh.

Paste the exact URL of your backend. Each one is the full chat path, as the providers document it:

OpenRouter  https://openrouter.ai/api/v1/chat/completions
DeepSeek    https://api.deepseek.com/chat/completions
Gemini      https://generativelanguage.googleapis.com/v1beta/openai/chat/completions
Claude      https://api.anthropic.com/v1/chat/completions
Mistral     https://api.mistral.ai/v1/chat/completions

What each provider's own page adds:

  • OpenRouter. Janitor's guide gives this URL and wants it "With no extra slashes, no repeated segments". Our OpenRouter setup guide covers the free models and the daily cap.
  • DeepSeek. DeepSeek's own example posts to this URL, with no /v1 in it. Its model names are now deepseek-flash and deepseek-v4-pro. See our DeepSeek setup guide.
  • Gemini. Google's base URL ends in /v1beta/openai/, so keep /openai/ in the path. Without it, our made-up key drew the same 400 as with it, so a made-up key cannot reveal that mistake. See our Gemini setup guide.
  • Claude. Anthropic documents the base URL https://api.anthropic.com/v1/, and the chat path adds chat/completions. Anthropic calls this layer "primarily intended to test and compare model capabilities". See our Claude guide.
  • Mistral. Mistral's reference posts to this URL with a Bearer key. See our Mistral guide.

Janitor's network-error article adds the provider's side. The error "often arises from proxy-related problems with services like DeepSeek or Claude, especially when their servers are down or overloaded." Its test is the one above: switch to Janitor's own model, and if that works, wait. It suggests 24 hours before you check again.

Test the key and the URL outside Janitor

Janitor shows one message for two settings, and curl separates them. From any terminal, with your real URL and key:

curl -sS https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"nvidia/nemotron-3-ultra-550b-a55b:free","messages":[{"role":"user","content":"hi"}]}'

The model in it is one of OpenRouter's free models, listed on November 24, 2026. Read the outcome:

  • A JSON reply with a message in it. The URL and the key both work. The fault is inside Janitor: another saved URL, a wrong model name, or a page that was not refreshed.
  • A 401, or a 400 on Gemini, that names the key. The key is the problem. On DeepSeek and Anthropic, check the URL against the list above as well.
  • 404 Not Found. The path is wrong.
  • An HTML page instead of JSON. You used the website's address in place of the API's.
  • curl: (6) Could not resolve host. The host name is misspelled.

To test another backend, swap in its URL and a model name from its documentation.

Access Restricted and 403: Cloudflare

Janitor runs behind Cloudflare. When Cloudflare refuses a request, Janitor's code swaps the refusal page for a notice of its own. A 403 becomes "Access temporarily restricted", a 502 "Service temporarily down", a 503 "Service temporarily overloaded", and 520 to 524 a maintenance notice.

Janitor's Cloudflare article says the decision rests on "your IP address, browser fingerprint, network reputation, and device configuration". Its support cannot whitelist an address or override Cloudflare. Its fixes are to clear cookies, use a private window, try another browser and check the system clock. Then turn off privacy extensions, and last, try another network such as mobile data.

One rule follows the address on purpose. Janitor asks users who connect from Australia, Brazil or the UK for a one-time age check, and "Detection is IP-based only." We give no steps around it.

When none of it works

Janitor's help center offers a chat and an email address. Its Cloudflare article lists what to send: what you already tried, the exact error text or a screenshot, and your browser and device. For an error from your provider, keep the reference in its answer. In our test, DeepSeek's 401 carried a request_id, and so did Anthropic's answers on wrong paths. Anthropic asks for that ID when you contact its support about a request.

Where a network proxy fits, and where it does not

HProxy sells network proxies, and for the login, the key and the URL they do nothing. With a proxy set in Janitor, the provider sees Janitor's server, so your own address never reaches it. The fixes above cost nothing.

Our lines fit a narrower case: a network that must leave through a fixed, known address, such as a company network that allows listed addresses only. For that, HProxy's static ISP proxies cost $2.70 per IP a month, from one address, and residential proxies start at $0.23 per GB.

Sources

Read on November 24, 2026, with the date each page gives:

Frequently asked questions

Why is Janitor AI saying Unauthorized?

Most often, Janitor's servers refused your login. When its API answers 401, the site tries once to renew your login, and if that fails it shows "Error. The session time has expired. Please login again." Log out and back in, then try a private window and another browser. With a proxy set, a 401 can also be your provider refusing the API key. If it happens to everyone at once, as on November 19, 2026, the fault is on Janitor's side and waiting is the fix.

What does the Unauthorized error mean on Janitor AI?

Something refused the credentials in a request. On Janitor's own chats that is your login session, which Janitor's 401 article ties to cookies not refreshing properly, browser-related bugs, or access being blocked via IP. With a proxy set, it can also be the provider refusing your API key. RFC 9110, the HTTP standard, defines a 401 as a request that lacks valid authentication credentials.

I am using the Janitor AI app and it says Unauthorized. What do I do?

Log out of the app and log back in. That is the fix Janitor itself gave for unauthorized errors after its database migration of January 29, 2026. If it still fails, open janitorai.com in your phone's browser to see whether the error follows you. If someone signed your device out from the active sessions list, the app needs a new login too.

How do I tell whether the URL or the key is the problem?

Send one request from outside Janitor with curl, using the same URL and key. A JSON reply means both work and the fault is in Janitor's settings or an unrefreshed page. A 404 means the path is wrong. A 401, or a 400 on Gemini, that names the key means the key is wrong. On DeepSeek and Anthropic, check the URL as well: in our test they answered four wrong URLs with the same key error.

Is a network error a Janitor AI outage?

Sometimes. Janitor's network-error article names provider servers that are down or overloaded, and suggests switching to Janitor's own model as a test. If that works, the proxy side is at fault, and Janitor suggests waiting 24 hours. If Janitor's own model fails too and other users report the same, it is Janitor. Its status page has posted no report since November 24, 2025, so watch its newsroom instead.

Can a proxy fix Unauthorized or a network error on Janitor AI?

Not for the login, the key or the URL, the causes Janitor's own help articles name first. With a proxy set, your provider sees Janitor's server, so your own address never reaches it. HProxy sells network proxies, and they do nothing for these causes. For a Cloudflare block on Janitor's site, Janitor's own advice is to try another network, such as mobile data.

Get proxies that are alive right now

Our free proxy list re-checks every exit every few minutes across 100+ countries, with a live last-checked time, so you copy IPs that worked moments ago, not a stale text dump. When the location has to survive a real check, the paid network holds up.

129M+ proxy checks run · 100+ countries · HTTP / HTTPS / SOCKS · re-checked every few minutes · no signup

HProxy.

Honest guides and comparisons on proxies, scraping and staying unblocked, from the team that runs the network.

RSS feed