Error map

Access to the path is denied System.UnauthorizedAccessException: Access to the path 'x' is denied

.NET · layer 4, Application & API

Open the full error page →

Centre: this error. First ring: errors it is linked with (12). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.

Access to the path is denied — System.UnauthorizedAccessException: Access to the path 'x' is denied (.NET)Access to t…403 — HTTP 403 Forbidden (HTTP)403unable to open database — sqlite3.OperationalError: unable to open database file (SQL)unable to open data…ENOENT — Error: ENOENT: no such file or directory (Node.js)ENOENTEACCES — Linux: Permission denied (Linux)EACCESOperation not permitted (macOS privacy) — macOS: Operation not permitted — Terminal/app lacks Full Disk Access (TCC privacy protection) (macOS)Operation not permi…0x80070005 — Windows Error 0x80070005 (E_ACCESSDENIED): Access is denied (Windows)0x80070005failed to open stream — Warning: include(x.php): Failed to open stream: No such file or directory (PHP)failed to open stre…readonly database — sqlite3.OperationalError: attempt to write a readonly database (SQL)readonly databaseclipboard write blocked — NotAllowedError: Failed to execute 'writeText' on 'Clipboard': Document is not focused. (JavaScript)clipboard write blo…session save path — Warning: session_start(): open(/var/lib/php/sessions/sess_x, O_RDWR) failed: Permission denied (PHP)session save pathRead-only file system — Read-only file system (EROFS) — cannot write to disk (Linux)Read-only file syst…Too many levels of symbolic links — Too many levels of symbolic links (ELOOP) (Linux)Too many levels of …publickey — Git: Permission denied (publickey). fatal: Could not read from remote repository. (Git)publickeyAccessDenied — AWS S3: AccessDenied (403) when calling GetObject / PutObject (AWS)AccessDenied401 — HTTP 401 Unauthorized (HTTP)401FileNotFoundError — FileNotFoundError: [Errno 2] No such file or directory: 'data.csv' (Python)FileNotFoundErrorSQLITE_BUSY — sqlite3.OperationalError: database is locked (SQLITE_BUSY) (SQL)SQLITE_BUSYSQLite no such column — sqlite3.OperationalError: no such column: x (SQL)SQLite no such colu…MODULE_NOT_FOUND — Error: Cannot find module 'x' (MODULE_NOT_FOUND) (Node.js)MODULE_NOT_FOUNDcommand not found — bash: command not found (Linux)command not found0x80070002 — Windows Error 0x80070002: The system cannot find the file specified (Windows)0x80070002EACCES — npm ERR! code EACCES — permission denied (npm)EACCESdaemon — Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? (Docker)daemonENOSPC — no space left on device (Docker / Linux) (Docker)ENOSPCinvalid_scope — OAuth 2.0 Error: invalid_scope / insufficient_scope (Authentication)invalid_scopesudoers — user is not in the sudoers file. This incident will be reported. (Linux)sudoersNot allowed — WordPress: Sorry, you are not allowed to access this page. (WordPress)Not allowed0x80004005 — Windows Error 0x80004005 (E_FAIL): Unspecified error (Windows)0x80004005AccessDeniedException — java.nio.file.AccessDeniedException: /path (Java)AccessDeniedExcepti…listen EACCES — Error: listen EACCES: permission denied 0.0.0.0:80 (Node.js)listen EACCESFileNotFoundException — java.io.FileNotFoundException: config.properties (No such file or directory) (Java)FileNotFoundExcepti…NoSuchFileException — java.nio.file.NoSuchFileException: /path/file (Java)NoSuchFileExceptionCannot redeclare — Fatal error: Cannot redeclare function foo() (previously declared in …) (PHP)Cannot redeclareSQLite UNIQUE failed — sqlite3.IntegrityError: UNIQUE constraint failed: users.email (SQL)SQLite UNIQUE failedSQLite NOT NULL failed — sqlite3.IntegrityError: NOT NULL constraint failed: table.column (SQL)SQLite NOT NULL fai…SQLite FK failed — sqlite3.IntegrityError: FOREIGN KEY constraint failed (SQL)SQLite FK failedERR_BLOCKED_BY_CLIENT — net::ERR_BLOCKED_BY_CLIENT (JavaScript)ERR_BLOCKED_BY_CLIE…ERR_CONNECTION_REFUSED — net::ERR_CONNECTION_REFUSED (This site can't be reached — refused to connect) (JavaScript)ERR_CONNECTION_REFU…ERR_NAME_NOT_RESOLVED — net::ERR_NAME_NOT_RESOLVED (This site can't be reached — server IP address could not be found) (JavaScript)ERR_NAME_NOT_RESOLV…ExpiredToken — AWS: ExpiredToken — The security token included in the request is expired (AWS)ExpiredTokensession_start() — Warning: session_start(): Session cannot be started after headers have already been sent (PHP)session_start()Laravel storage — Laravel: The stream or file "storage/logs/laravel.log" could not be opened in append mode: Failed to open stream: Permission denied (PHP)Laravel storageNo space left on device (inodes) — No space left on device, but df shows free space (inodes exhausted) (Linux)No space left on de…target is busy — umount: target is busy / Device or resource busy (Linux)target is busyArgument list too long — bash: /bin/rm: Argument list too long (Linux)Argument list too l…wrong fs type, bad option, bad superblock — mount: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program (Linux)wrong fs type, bad …0x80070570 — Error 0x80070570: The file or directory is corrupted and unreadable (Windows)0x800705700x80070020 — 0x80070020: The process cannot access the file because it is being used by another process (Windows)0x80070020

Directly related (12)

403HTTP

HTTP 403 Forbidden

The server understood the request but refuses to authorize it — you (or the server process) are not allowed to access this resour…

unable to open databaseSQL

sqlite3.OperationalError: unable to open database file

SQLite couldn’t open or create the database file — wrong path or missing/unwritable directory.

ENOENTNode.js

Error: ENOENT: no such file or directory

A file or directory the program tried to open doesn’t exist at that path.

EACCESLinux

Linux: Permission denied

Your user (or the service user) lacks read/write/execute permission on a file, directory or one of its parents.

Operation not permitted (macOS privacy)macOS

macOS: Operation not permitted — Terminal/app lacks Full Disk Access (TCC privacy protection)

macOS privacy protection (TCC) blocked access to protected folders (Desktop, Documents, Downloads, Mail, Photos, external volumes…

0x80070005Windows

Windows Error 0x80070005 (E_ACCESSDENIED): Access is denied

Windows refused an operation because the account or process lacks permission — seen in Windows Update, installers, Task Scheduler…

failed to open streamPHP

Warning: include(x.php): Failed to open stream: No such file or directory

PHP couldn’t open a file for include/require/fopen — wrong path, missing file, or no permission.

readonly databaseSQL

sqlite3.OperationalError: attempt to write a readonly database

The process can’t write to the SQLite file or its directory.

clipboard write blockedJavaScript

NotAllowedError: Failed to execute 'writeText' on 'Clipboard': Document is not focused.

The Clipboard API refused to write — the page isn’t focused, there was no user gesture, or the context isn’t secure.

session save pathPHP

Warning: session_start(): open(/var/lib/php/sessions/sess_x, O_RDWR) failed: Permission denied

PHP can’t write session files to the configured session.save_path.

Read-only file systemLinux

Read-only file system (EROFS) — cannot write to disk

The filesystem is mounted read-only — often because the kernel remounted it after detecting disk errors.

Too many levels of symbolic linksLinux

Too many levels of symbolic links (ELOOP)

A symlink points to itself, directly or through a chain, so path resolution loops.

Two steps away (36)

publickeyGit

Git: Permission denied (publickey). fatal: Could not read from remote repository.

SSH authentication to GitHub/GitLab/Bitbucket failed — no key, wrong key, or the key isn’t added to your account.

AccessDeniedAWS

AWS S3: AccessDenied (403) when calling GetObject / PutObject

An IAM policy, bucket policy, ACL/ownership setting, Block Public Access or KMS key policy denied the S3 request.

401HTTP

HTTP 401 Unauthorized

The request has no valid authentication credentials — you need to log in or send a valid token.

FileNotFoundErrorPython

FileNotFoundError: [Errno 2] No such file or directory: 'data.csv'

Python couldn’t find the file at that path — usually because relative paths resolve from the working directory, not the script.

SQLITE_BUSYSQL

sqlite3.OperationalError: database is locked (SQLITE_BUSY)

Another connection holds a write lock on the SQLite file, and this one gave up waiting.

SQLite no such columnSQL

sqlite3.OperationalError: no such column: x

SQLite can’t find the column — missing migration, typo, or a string written in double quotes.

MODULE_NOT_FOUNDNode.js

Error: Cannot find module 'x' (MODULE_NOT_FOUND)

Node can’t resolve the module path — the package isn’t installed, or a relative path/extension is wrong.

command not foundLinux

bash: command not found

The shell can’t find an executable with that name in any directory on your PATH.

0x80070002Windows

Windows Error 0x80070002: The system cannot find the file specified

A file or registry entry Windows expected is missing — common in Windows Update, backups and app installs.

EACCESnpm

npm ERR! code EACCES — permission denied

npm can’t write to a directory — usually global installs into a root-owned folder.

daemonDocker

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

The docker CLI can’t talk to the Docker engine — it isn’t running, or your user can’t access the socket.

ENOSPCDocker

no space left on device (Docker / Linux)

The disk (or inode table) is full — Docker images, build cache, logs and volumes are common culprits.

invalid_scopeAuthentication

OAuth 2.0 Error: invalid_scope / insufficient_scope

The requested scope is unknown or not allowed for this client — or the token lacks the scope the API endpoint requires.

sudoersLinux

user is not in the sudoers file. This incident will be reported.

Your account isn’t allowed to use sudo.

Not allowedWordPress

WordPress: Sorry, you are not allowed to access this page.

Your user role lacks the capability for that admin screen — or the database table prefix / user capabilities are out of sync afte…

0x80004005Windows

Windows Error 0x80004005 (E_FAIL): Unspecified error

A generic failure code — the operation failed for a reason the component didn’t report precisely. Context decides the fix.

AccessDeniedExceptionJava

java.nio.file.AccessDeniedException: /path

The OS denied a file operation to the Java process.

listen EACCESNode.js

Error: listen EACCES: permission denied 0.0.0.0:80

Node isn’t allowed to bind that port — ports below 1024 need root on Linux/macOS, and some Windows ports are reserved.

FileNotFoundExceptionJava

java.io.FileNotFoundException: config.properties (No such file or directory)

Java couldn’t open the file — wrong path relative to the working directory, missing file, or a classpath resource read as a file.

NoSuchFileExceptionJava

java.nio.file.NoSuchFileException: /path/file

An NIO Files operation targeted a path that doesn’t exist.

Cannot redeclarePHP

Fatal error: Cannot redeclare function foo() (previously declared in …)

The same function (or class) was defined twice — usually a file included more than once.

SQLite UNIQUE failedSQL

sqlite3.IntegrityError: UNIQUE constraint failed: users.email

An insert/update duplicated a value in a UNIQUE or PRIMARY KEY column in SQLite.

SQLite NOT NULL failedSQL

sqlite3.IntegrityError: NOT NULL constraint failed: table.column

A NULL went into a NOT NULL column in SQLite.

SQLite FK failedSQL

sqlite3.IntegrityError: FOREIGN KEY constraint failed

An insert/update/delete violated a foreign key in SQLite (with PRAGMA foreign_keys=ON).

ERR_BLOCKED_BY_CLIENTJavaScript

net::ERR_BLOCKED_BY_CLIENT

A browser extension (ad blocker, privacy tool) blocked the request.

ERR_CONNECTION_REFUSEDJavaScript

net::ERR_CONNECTION_REFUSED (This site can't be reached — refused to connect)

The browser reached the host but nothing was listening on that port.

ERR_NAME_NOT_RESOLVEDJavaScript

net::ERR_NAME_NOT_RESOLVED (This site can't be reached — server IP address could not be found)

DNS couldn’t resolve the hostname in the browser.

ExpiredTokenAWS

AWS: ExpiredToken — The security token included in the request is expired

Temporary AWS credentials (STS/SSO/assumed role) have expired.

session_start()PHP

Warning: session_start(): Session cannot be started after headers have already been sent

session_start() ran after output was sent, so PHP can’t set the session cookie.

Laravel storagePHP

Laravel: The stream or file "storage/logs/laravel.log" could not be opened in append mode: Failed to open stream: Permission denied

The web server can’t write to Laravel’s storage or bootstrap/cache directories.

No space left on device (inodes)Linux

No space left on device, but df shows free space (inodes exhausted)

The filesystem has run out of inodes — the slots for files — even though there are gigabytes free, usually because of millions of…

target is busyLinux

umount: target is busy / Device or resource busy

The filesystem or device can’t be unmounted or removed because a process is still using it.

Argument list too longLinux

bash: /bin/rm: Argument list too long

A glob like * expanded to more file names than the kernel allows in one command (ARG_MAX), so the command never ran.

wrong fs type, bad option, bad superblockLinux

mount: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program

mount couldn’t mount the device — the filesystem type isn’t supported/installed, the partition is wrong, or the filesystem is dam…

0x80070570Windows

Error 0x80070570: The file or directory is corrupted and unreadable

Windows can’t read a file because the disk, USB stick or installation media has corrupted data or bad sectors.

0x80070020Windows

0x80070020: The process cannot access the file because it is being used by another process

Another program has the file open (locked), so Windows can’t modify, delete or replace it.