“You do not have permission to access the requested resource” (NSURLErrorDomain -1102) on Mac

The server refused access. A login, a region rule, a filter or a key can cause it.

Fix this with your agentCopies a prompt for Claude Code, Codex or any agent that can use Terminal.

My Mac has this problem: “You do not have permission to access the requested resource” (NSURLErrorDomain -1102) on Mac. Read https://kilobat.app/guides/nsurl-error-1102-you-do-not-have-permission-to-access-the-requested-resource.md and work through it with me. Install the Kilobat CLI if it’s missing: brew install seifip/kilobat/kilobat. Run the guide’s Terminal and kilobat checks yourself and tell me what you find. List the steps only I can do. Ask before you change any setting.

Applies to: macOS 13 Ventura and later. The text was checked in CFNetwork on macOS 27.2.Checked: 29 October 2026

Symptoms

  • An app shows “You do not have permission to access the requested resource.”
  • Console shows NSURLErrorDomain Code=-1102.
  • The same address can open for other users.

Likely causes

  • A login is missing or has expired. The server needs you to sign in.
  • A block by region, address or filter. A network or a server rule denies your address.
  • A VPN address that the service blocks. Some services block VPN addresses.

How to check

  1. Show the status code that the server sends.

    curl -sS -o /dev/null -w '%{http_code}\n' https://example.com
  2. Request the page and show each step of the connection.

    curl -v -o /dev/null https://example.com

How to fix it

  1. Sign in again in the app.

  2. Turn off a VPN for a test.

  3. Try another network.

  4. Ask the service owner to allow your account or address.

With Kilobat

  1. Check Wi-Fi, the router, the internet, DNS and login pages in one step.

    kilobat diagnose
  2. If one site or service fails, find the layer that stops it.

    kilobat why example.com
  3. The CLI is free. In the app, the advice from these checks is part of Kilobat Pro. See Find why one site or API won't connect.

Questions

Is it a Mac problem?

Rarely. The server decides who may enter.

Can a content filter cause it?

Yes. See A content filter blocks websites on a Mac.

Sources

  • Error text in CFNetwork.framework, macOS 27.2 (Localizable.loctable)
  • curl(1) and nc(1), man page installed with macOS 27.2

Checked on 29 October 2026.