Omniscio

OmniscioGuides403 Request not allowed

API Error: 403 Request not allowed, after a sign-in that worked

A 403 is not a rejected password. Claude Code signed in, sent a request, and something refused it. Anthropic names three candidates — the subscription, the Console role, and a proxy on the network — and all three are answered somewhere other than the login screen.

Checked against Anthropic's Claude Code documentation and changelog on November 25, 2026. By the Omniscio team. Updated .

What is the exact message?

API Error: 403 Request not allowed

Anthropic's install troubleshooting page quotes exactly this line under "403 Forbidden after login", which is where the three causes below come from. A 403 carrying different text is a different entry: the tail after 403 is the message from whatever answered, and behind a gateway or an LLM gateway it is that system's own refusal rather than Anthropic's.

What does it mean?

Something refused the request after the sign-in was accepted. Anthropic names three candidates, and they belong to three different setups: the subscription, the Console role, and a proxy on the network.

Anthropic's page names three things to check, one for each kind of setup: a Claude subscription, an Anthropic Console account, and a connection behind a corporate proxy.

The three causes Anthropic lists

  • The subscription is not active. For Claude Pro, Max and Ultra, the check is at claude.ai/settings.
  • A Console account is missing a role. The account needs the "Claude Code" or "Developer" role, which an admin assigns on the Console's Members page at platform.claude.com/settings/members.
  • A proxy is interfering. Anthropic says corporate proxies can interfere with API requests, and sends you to its network configuration page for the proxy variables and the hosts that must be reachable.

How do I fix it?

Start by learning which credential the session is using, because the fix follows it. /status reports the credential, the account and the organisation.

If you pay for Claude yourself, or your employer does

  1. Open claude.ai/settings and confirm the plan is active. Anthropic's check is that the subscription is active rather than lapsed or cancelled. On a Team or Enterprise plan your employer bought, the same page, or an admin, is where that is confirmed.
  2. Check that /status shows the account you just paid with. A session can be running on a different saved login or on an ANTHROPIC_API_KEY, and then the subscription you are looking at is not the credential making the request.

If your employer runs an Anthropic Console

  1. Ask for the "Claude Code" or "Developer" role. An admin grants it at platform.claude.com/settings/members, so ask an admin rather than looking for the setting yourself.
  2. After the role is granted, sign in again so the session picks it up.

If you are behind a corporate proxy

  1. Confirm from the same shell that you can reach the API host: curl -I https://api.anthropic.com, or curl.exe -I in PowerShell. If it fails, the proxy is in the path. If it answers, that clears name resolution and reachability only, so try the same prompt from another network before ruling the network out.
  2. Then work through the guide to Claude Code behind a corporate proxy: the proxy variables in the env block of your settings file, the certificate bundle if the proxy inspects TLS, and the host allowlist.

If none of the three applies

  1. Run /status and note the credential, the account and the organisation it reports, then run claude --version.
  2. Report the full API Error: line with those three details on Anthropic's Claude Code issue tracker. The text after 403 is the refusing system's own message, and it is the part that identifies it.

Anthropic's changelog also records two 403 block-page fixes: v2.1.317 made Claude Code explain a region or network block instead of showing it as a sign-in failure, and v2.1.326 fixed forceLoginOrgUUID and forceRemoteSettingsRefresh startup errors that told you to sign in again when a network block page caused them. Neither produces this exact line, so check them only if your 403 text differs; claude --version tells you which build you are on.

Which 403 is this not?

A 403 is a status, not a cause, and Claude Code has several that carry the same number.

  • A rejected credential reads Please run /login · API Error: 401 Invalid authentication credentials and is covered by the invalid authentication credentials guide. A rejected or expired login reads Login expired · Please run /login, and the login errors guide owns both.
  • A gateway refusal reads Gateway refused the request · signing in again won't change this — check with your gateway administrator · API Error: 403 ... and belongs to the Claude apps gateway guide.
  • A cloud provider's refusal names the provider: AWS authentication failed and Google Cloud authentication failed carry a 403, and Microsoft Foundry authentication failed carries a 401 or 403. Each has its own setup page.
  • A suspended account reads Your account is on hold and can't use Claude Code. View details or appeal: https://claude.ai/restricted. The hold is on the account, not the login, so signing in again does not clear it; the account on hold guide covers the rest.

How do I know it is fixed?

  • The same prompt answers instead of returning a 403.
  • Run /status and read the credential, account and organisation rows. After an admin grants a role or a subscription is renewed, those rows should name the account you expect, and a request made now should succeed.
  • A refusal that survives all three checks is worth reporting with the full API Error: line, because the text after 403 is the refusing system's own message.

Where these answers come from

Common questions

What does API Error: 403 Request not allowed mean?

You are signed in and the request was still refused. Anthropic's troubleshooting page lists three causes: a Claude subscription that is not active, an Anthropic Console account without the Claude Code or Developer role, and a corporate proxy interfering with the request. Signing in again on its own fixes none of them.

Is a 403 the same as an expired login?

No. Two different messages cover it. A credential the API rejects reads Please run /login · API Error: 401 Invalid authentication credentials. A login that expired or could not be renewed reads Login expired · Please run /login. This page's 403 arrives after a sign-in that worked, and the refusal is about the account or the request path.

How do I check my subscription is active?

For Claude Pro, Max and Ultra, Anthropic says to verify the subscription is active at claude.ai/settings. The plan row there is the check, not the sign-in: this 403 arrives after logging in, so a working login does not prove the plan is active.

What role does a Console account need?

The "Claude Code" or "Developer" role. An admin assigns it on the Console's Members page at platform.claude.com/settings/members, so ask an admin rather than looking for the setting yourself.

Can a proxy cause a 403?

Yes. Anthropic names corporate proxies as a cause of this message, so a proxy that inspects or rewrites API requests can produce a 403 that has nothing to do with the account. Check that api.anthropic.com is reachable through it (curl -I https://api.anthropic.com, or curl.exe -I in PowerShell) and allowlisted the way Anthropic's network access requirements describe.

Why does the same account work in one place and not another?

The refusal follows the request path, so a machine behind a proxy, a session authenticated with a different credential, or a gateway that applies its own access rules can be refused while the same account works elsewhere. Running /status shows which credential and account the session is using.