Error map

PERMISSION_DENIED PERMISSION_DENIED: The caller does not have permission (insufficient permissions)

Authentication · 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.

PERMISSION_DENIED — PERMISSION_DENIED: The caller does not have permission (insufficient permissions) (Authentication)PERMISSION_…403 — HTTP 403 Forbidden (HTTP)4030x80070005 — Windows Error 0x80070005 (E_ACCESSDENIED): Access is denied (Windows)0x80070005Missing or insufficient permissions — Firestore: FirebaseError: [code=permission-denied]: Missing or insufficient permissions (Google Cloud / Firebase)Missing or insuffic…readonly database — sqlite3.OperationalError: attempt to write a readonly database (SQL)readonly databaselisten EACCES — Error: listen EACCES: permission denied 0.0.0.0:80 (Node.js)listen EACCESResource not accessible by integration — GitHub Actions: Error: Resource not accessible by integration (403) (CI/CD)Resource not access…Operation not permitted (macOS privacy) — macOS: Operation not permitted — Terminal/app lacks Full Disk Access (TCC privacy protection) (macOS)Operation not permi…daemon — Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? (Docker)daemonsudoers — user is not in the sudoers file. This incident will be reported. (Linux)sudoersdata directory permissions — FATAL: data directory "/var/lib/postgresql/data" has invalid permissions — Permissions should be u=rwx (0700) or u=rwx,g=rx (0750). (PostgreSQL)data directory perm…AccessDenied — AWS S3: AccessDenied (403) when calling GetObject / PutObject (AWS)AccessDeniedEPERM — Error: EPERM: operation not permitted, rename / unlink (Node.js)EPERMpublickey — Git: Permission denied (publickey). fatal: Could not read from remote repository. (Git)publickeyEACCES — Linux: Permission denied (Linux)EACCES401 — HTTP 401 Unauthorized (HTTP)4010x80070002 — Windows Error 0x80070002: The system cannot find the file specified (Windows)0x800700020x80004005 — Windows Error 0x80004005 (E_FAIL): Unspecified error (Windows)0x80004005AccessDeniedException — java.nio.file.AccessDeniedException: /path (Java)AccessDeniedExcepti…auth/invalid-credential — Firebase Auth: auth/invalid-credential (auth/wrong-password, auth/user-not-found, auth/invalid-login-credentials) (Authentication)auth/invalid-creden…Could not load the default credentials — Google Cloud: Error: Could not load the default credentials. Browse to https://cloud.google.com/docs/authentication/getting-started (Google Cloud / Firebase)Could not load the …Container failed to start — Cloud Run: The user-provided container failed to start and listen on the port defined provided by the PORT=8080 environment variable (Google Cloud / Firebase)Container failed to…SQLITE_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…SQLite UNIQUE failed — sqlite3.IntegrityError: UNIQUE constraint failed: users.email (SQL)SQLite UNIQUE failedEADDRINUSE — Error: listen EADDRINUSE: address already in use :::3000 (Node.js)EADDRINUSEport is already allocated — Docker: Bind for 0.0.0.0:80 failed: port is already allocated (Docker)port is already all…invalid_scope — OAuth 2.0 Error: invalid_scope / insufficient_scope (Authentication)invalid_scopeEACCES — npm ERR! code EACCES — permission denied (npm)EACCESNot allowed — WordPress: Sorry, you are not allowed to access this page. (WordPress)Not allowedgithub-actions[bot] 403 — remote: Permission to owner/repo.git denied to github-actions[bot]. fatal: unable to access … The requested URL returned error: 403 (Git)github-actions[bot]…spawn EACCES — Error: spawn EACCES (Node.js)spawn EACCESnpm update check failed — npm update check failed — Try running with sudo or get access to the local update config store (npm)npm update check fa…session save path — Warning: session_start(): open(/var/lib/php/sessions/sess_x, O_RDWR) failed: Permission denied (PHP)session save path2002 — MySQL ERROR 2002 (HY000): Can't connect to local MySQL server through socket (MySQL)2002ENOTFOUND — Error: getaddrinfo ENOTFOUND host / Name or service not known (API)ENOTFOUNDConflict container name — Conflict. The container name "/x" is already in use by container … (Docker)Conflict container …dpkg lock — E: Could not get lock /var/lib/dpkg/lock-frontend — is another process using it? (Linux)dpkg lockclipboard write blocked — NotAllowedError: Failed to execute 'writeText' on 'Clipboard': Document is not focused. (JavaScript)clipboard write blo…UNPROTECTED PRIVATE KEY FILE — WARNING: UNPROTECTED PRIVATE KEY FILE! Permissions 0644 for 'key.pem' are too open (Linux)UNPROTECTED PRIVATE…sharp module — Error: Could not load the "sharp" module using the linux-x64 runtime (npm)sharp moduleesbuild wrong platform — You installed esbuild for another platform than the one you're currently using. (npm)esbuild wrong platf…invalid ELF header — Error: /app/node_modules/bcrypt/lib/binding/bcrypt_lib.node: invalid ELF header (npm)invalid ELF headerExpiredToken — AWS: ExpiredToken — The security token included in the request is expired (AWS)ExpiredTokenThrottlingException — AWS: ThrottlingException / Rate exceeded (AWS)ThrottlingExceptionAuthorizationFailed — Azure: AuthorizationFailed — The client does not have authorization to perform action (Azure)AuthorizationFailedEISDIR — Error: EISDIR: illegal operation on a directory, read (Node.js)EISDIRENOTDIR — Error: ENOTDIR: not a directory (Node.js)ENOTDIREEXIST — Error: EEXIST: file already exists, mkdir (Node.js)EEXIST

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…

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…

Missing or insufficient permissionsGoogle Cloud / Firebase

Firestore: FirebaseError: [code=permission-denied]: Missing or insufficient permissions

Firestore Security Rules denied the read/write — the user isn’t signed in, the rule conditions don’t match, or test-mode rules ex…

readonly databaseSQL

sqlite3.OperationalError: attempt to write a readonly database

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

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.

Resource not accessible by integrationCI/CD

GitHub Actions: Error: Resource not accessible by integration (403)

The workflow’s GITHUB_TOKEN doesn’t have the permission needed for that API call (comment, push, create release, write packages).

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…

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.

sudoersLinux

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

Your account isn’t allowed to use sudo.

data directory permissionsPostgreSQL

FATAL: data directory "/var/lib/postgresql/data" has invalid permissions — Permissions should be u=rwx (0700) or u=rwx,g=rx (0750).

PostgreSQL refuses to start because the data directory is too open or owned by the wrong user.

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.

EPERMNode.js

Error: EPERM: operation not permitted, rename / unlink

The OS refused a file operation — on Windows usually because another process (antivirus, editor, indexer) has the file locked.

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.

EACCESLinux

Linux: Permission denied

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

401HTTP

HTTP 401 Unauthorized

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

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.

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.

auth/invalid-credentialAuthentication

Firebase Auth: auth/invalid-credential (auth/wrong-password, auth/user-not-found, auth/invalid-login-credentials)

Firebase rejected the email/password sign-in — wrong password, no such user, or a provider credential that’s malformed/expired.

Could not load the default credentialsGoogle Cloud / Firebase

Google Cloud: Error: Could not load the default credentials. Browse to https://cloud.google.com/docs/authentication/getting-started

The Google client library found no Application Default Credentials (ADC) on this machine or environment.

Container failed to startGoogle Cloud / Firebase

Cloud Run: The user-provided container failed to start and listen on the port defined provided by the PORT=8080 environment variable

Cloud Run started your container, but nothing listened on $PORT within the startup timeout — the app crashed, listens on another…

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.

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.

EADDRINUSENode.js

Error: listen EADDRINUSE: address already in use :::3000

Another process is already listening on that port.

port is already allocatedDocker

Docker: Bind for 0.0.0.0:80 failed: port is already allocated

Another container or host process already publishes that host port.

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.

EACCESnpm

npm ERR! code EACCES — permission denied

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

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…

github-actions[bot] 403Git

remote: Permission to owner/repo.git denied to github-actions[bot]. fatal: unable to access … The requested URL returned error: 403

A GitHub Actions workflow tried to push but the GITHUB_TOKEN doesn’t have write permission.

spawn EACCESNode.js

Error: spawn EACCES

Node tried to execute a file that isn’t executable (missing +x permission) or isn’t a program.

npm update check failednpm

npm update check failed — Try running with sudo or get access to the local update config store

npm’s update notifier couldn’t write its config — usually root-owned files in ~/.config from a past sudo npm.

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.

2002MySQL

MySQL ERROR 2002 (HY000): Can't connect to local MySQL server through socket

The client couldn’t reach the MySQL server — it isn’t running, or the client is looking for the socket/port in the wrong place.

ENOTFOUNDAPI

Error: getaddrinfo ENOTFOUND host / Name or service not known

DNS lookup for the hostname failed — the name is wrong, doesn’t exist, or this machine can’t resolve it.

Conflict container nameDocker

Conflict. The container name "/x" is already in use by container …

A container (running or stopped) already has that name; Docker won’t create a second one with the same name.

dpkg lockLinux

E: Could not get lock /var/lib/dpkg/lock-frontend — is another process using it?

apt can’t run because another package operation (often automatic updates) holds the dpkg lock.

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.

UNPROTECTED PRIVATE KEY FILELinux

WARNING: UNPROTECTED PRIVATE KEY FILE! Permissions 0644 for 'key.pem' are too open

SSH refuses to use a private key that other users can read; it must be readable only by you (chmod 600).

sharp modulenpm

Error: Could not load the "sharp" module using the linux-x64 runtime

sharp’s native binary for this OS/CPU isn’t installed — usually node_modules installed on another platform (Mac → Linux/Docker).

esbuild wrong platformnpm

You installed esbuild for another platform than the one you're currently using.

node_modules contains esbuild’s binary for a different OS/CPU.

invalid ELF headernpm

Error: /app/node_modules/bcrypt/lib/binding/bcrypt_lib.node: invalid ELF header

A native module compiled for macOS/Windows is being loaded on Linux.

ExpiredTokenAWS

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

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

ThrottlingExceptionAWS

AWS: ThrottlingException / Rate exceeded

You exceeded the request rate for an AWS API; retry with exponential backoff.

AuthorizationFailedAzure

Azure: AuthorizationFailed — The client does not have authorization to perform action

The signed-in identity (user, service principal or managed identity) lacks an Azure RBAC role for that action on that scope.

EISDIRNode.js

Error: EISDIR: illegal operation on a directory, read

A file API (readFile, writeFile, createReadStream) was given a directory path.

ENOTDIRNode.js

Error: ENOTDIR: not a directory

A path treats a file as if it were a directory (e.g. file.txt/child).

EEXISTNode.js

Error: EEXIST: file already exists, mkdir

Node tried to create a file/directory/symlink that already exists.