Error map

startForeground not called Context.startForegroundService() did not then call Service.startForeground() / ForegroundServiceStartNotAllowedException

Android · layer 1, On your device

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.

startForeground not called — Context.startForegroundService() did not then call Service.startForeground() / ForegroundServiceStartNotAllowedException (Android)startForegr…Job for x.service failed — Job for nginx.service failed because the control process exited with error code (Linux)Job for x.service f…provided port is not in the valid range — spec.ports[0].nodePort: Invalid value: 80: provided port is not in the valid range. The range of valid ports is 30000-32767 (Kubernetes)provided port is no…0x80070422 — Windows Update error 0x80070422 (service is disabled) (Windows)0x80070422Start request repeated too quickly — systemd: Start request repeated too quickly / service hit its start limit (Linux)Start request repea…Unit not found — Failed to start x.service: Unit x.service not found (Linux)Unit not foundno endpoints — Service has no endpoints (no endpoints available for service / Endpoints: <none>) (Kubernetes)no endpointsstatus=203/EXEC — systemd: Main process exited, code=exited, status=203/EXEC (Linux)status=203/EXECSecurityException: Permission Denial — java.lang.SecurityException: Permission Denial ... requires android.permission.X (Android)SecurityException: …API has not been used in project before or it is disabled — Google Cloud: 403 SERVICE_DISABLED — Cloud Resource Manager API has not been used in project 123456 before or it is disabled. Enable it by visiting (Google Cloud / Firebase)API has not been us…must target at least API level — Play Console: Your app currently targets API level 33 and must target at least API level 34 (Android)must target at leas…Xiaomi/Huawei/Oppo kills background service — (behavior) background work stops after screen off on MIUI/EMUI/ColorOS (Android)Xiaomi/Huawei/Oppo …FLAG_IMMUTABLE or FLAG_MUTABLE — Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent (Android)FLAG_IMMUTABLE or F…bind() failed (98: Address already in use) — nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) (Linux)bind() failed (98: …System has not been booted with systemd — System has not been booted with systemd as init system (PID 1). Can't operate. (Linux)System has not been…Failed to connect to bus — Failed to connect to bus: No such file or directory (systemctl --user / timedatectl) (Linux)Failed to connect t…CannotPullContainerError — ECS task stopped: CannotPullContainerError: pull image manifest has been retried ... / ref pull has been retried (AWS)CannotPullContainer…network not found — Error response from daemon: network X not found (Docker)network not foundiptables: No chain/target/match — driver failed programming external connectivity on endpoint: iptables: No chain/target/match by that name (Docker)iptables: No chain/…0x80070005 — Windows Error 0x80070005 (E_ACCESSDENIED): Access is denied (Windows)0x800700050x80070002 — Windows Error 0x80070002: The system cannot find the file specified (Windows)0x800700020x80070643 — Windows Error 0x80070643: Fatal error during installation (Windows)0x80070643Restarting (1) — Docker container keeps restarting (Restarting (1) x seconds ago) (Docker)Restarting (1)launchctl: Load failed: 5: Input/output error — macOS: Bootstrap failed: 5: Input/output error / launchctl load: Load failed: 5: Input/output error (macOS)launchctl: Load fai…apache2.service: Failed with result 'exit-code' — systemd: apache2.service: Main process exited, code=exited, status=1/FAILURE — Job for apache2.service failed because the control process exited with error code (Nginx / Apache)apache2.service: Fa…command not found — bash: command not found (Linux)command not foundFailed to load environment files: No such file or directory — myapp.service: Failed to load environment files: No such file or directory (Linux)Failed to load envi…Warning: The unit file changed on disk. Run 'systemctl daemon-reload' — Warning: The unit file, source configuration file or drop-ins of myapp.service changed on disk. Run 'systemctl daemon-reload' to reload units. (Linux)Warning: The unit f…503 — HTTP 503 Service Unavailable (HTTP)503Readiness probe failed — Readiness probe failed: HTTP probe failed with statuscode: 503 / connect: connection refused (Kubernetes)Readiness probe fai…default backend - 404 — Ingress returns "404 Not Found" / "default backend - 404" (ingress-nginx) (Kubernetes)default backend - 4…exec no such file or directory — exec /docker-entrypoint.sh: no such file or directory (CRLF line endings / missing interpreter) (Docker)exec no such file o…avc: denied — SELinux is preventing ... / avc: denied { read } for pid=... (permission denied despite correct permissions) (Linux)avc: deniedMain process exited, code=exited, status=1/FAILURE — systemd[1]: myapp.service: Main process exited, code=exited, status=1/FAILURE (Linux)Main process exited…EACCES — 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)daemon403 — HTTP 403 Forbidden (HTTP)403Container memory limit exceeded — Cloud Run: Memory limit of 512 MiB exceeded with 530 MiB used. Consider increasing the memory limit (Google Cloud / Firebase)Container memory li…Cloud Run 504: The request has been terminated because it has reached the maximum request timeout — Cloud Run: 504 Gateway Timeout — The request has been terminated because it has reached the maximum request timeout (Google Cloud / Firebase)Cloud Run 504: The …GKE: 0/3 nodes are available: Insufficient cpu — GKE/Kubernetes: Pod unschedulable — 0/3 nodes are available: 3 Insufficient cpu (Google Cloud / Firebase)GKE: 0/3 nodes are …INSTALL_FAILED_OLDER_SDK — INSTALL_FAILED_OLDER_SDK / INSTALL_FAILED_DEPRECATED_SDK_VERSION (Android)INSTALL_FAILED_OLDE…Dependency requires compileSdk — Dependency 'androidx.x:1.y' requires libraries and applications that depend on it to compile against version 34 or later of the Android APIs (Android)Dependency requires…android:attr/lStar not found — AAPT: error: resource android:attr/lStar not found (Android)android:attr/lStar …Android resource linking failed — AAPT: error: resource x (aka y) not found — Android resource linking failed (Android)Android resource li…Error building the app bundle — Execution failed for task ':app:bundleRelease'. Error while executing bundletool (Android)Error building the …IllegalStateException: Not allowed to start service Intent (app is in background) — java.lang.IllegalStateException: Not allowed to start service Intent { cmp=com.example/.SyncService }: app is in background uid UidRecord{...} (Android)IllegalStateExcepti…adb unauthorized — adb: device unauthorized. This adb server's $ADB_VENDOR_KEYS is not set (Android)adb unauthorizedno devices/emulators found — adb: no devices/emulators found / error: device not found (Android)no devices/emulator…ActivityNotFoundException — ActivityNotFoundException: Unable to find explicit activity class; have you declared this activity in your AndroidManifest.xml? (Android)ActivityNotFoundExc…

Directly related (12)

Job for x.service failedLinux

Job for nginx.service failed because the control process exited with error code

systemd tried to start the service, but its start command failed. The real reason is in the service’s status/journal.

provided port is not in the valid rangeKubernetes

spec.ports[0].nodePort: Invalid value: 80: provided port is not in the valid range. The range of valid ports is 30000-32767

A NodePort Service asked for a port outside the cluster’s NodePort range (default 30000–32767).

0x80070422Windows

Windows Update error 0x80070422 (service is disabled)

Windows Update (or the Microsoft Store/Defender) can’t run because a required service — usually Windows Update (wuauserv) — is di…

Start request repeated too quicklyLinux

systemd: Start request repeated too quickly / service hit its start limit

The service crashed and restarted several times in a short period, so systemd stopped trying (StartLimitBurst).

Unit not foundLinux

Failed to start x.service: Unit x.service not found

systemd has no unit with that name — the package isn’t installed, the name differs on this distro, or a new unit file wasn’t load…

no endpointsKubernetes

Service has no endpoints (no endpoints available for service / Endpoints: <none>)

The Service’s selector matches no ready pods, so traffic to it is refused or returns 503.

status=203/EXECLinux

systemd: Main process exited, code=exited, status=203/EXEC

systemd couldn’t execute the ExecStart command — the path is wrong, the file isn’t executable, or its interpreter is missing.

SecurityException: Permission DenialAndroid

java.lang.SecurityException: Permission Denial ... requires android.permission.X

The app called an API that needs a permission it hasn’t declared or the user hasn’t granted at runtime.

API has not been used in project before or it is disabledGoogle Cloud / Firebase

Google Cloud: 403 SERVICE_DISABLED — Cloud Resource Manager API has not been used in project 123456 before or it is disabled. Enable it by visiting

The Google API you called is not enabled for the project that the request is billed to.

must target at least API levelAndroid

Play Console: Your app currently targets API level 33 and must target at least API level 34

Google Play requires new apps and updates to target a recent Android API level (raised every year).

Xiaomi/Huawei/Oppo kills background serviceAndroid

(behavior) background work stops after screen off on MIUI/EMUI/ColorOS

Vendor battery managers stop background apps.

FLAG_IMMUTABLE or FLAG_MUTABLEAndroid

Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent

Apps targeting Android 12+ must declare PendingIntent mutability; missing flags crash.

Two steps away (36)

bind() failed (98: Address already in use)Linux

nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)

Nginx (or another server) can’t listen on the port because another process already holds it — often Apache, another Nginx, or a s…

System has not been booted with systemdLinux

System has not been booted with systemd as init system (PID 1). Can't operate.

You ran systemctl inside an environment without systemd as PID 1 — a Docker container or older WSL.

Failed to connect to busLinux

Failed to connect to bus: No such file or directory (systemctl --user / timedatectl)

The command needs the D-Bus/systemd bus, which isn’t available in this session — common over su, sudo -u, cron, containers or WSL.

CannotPullContainerErrorAWS

ECS task stopped: CannotPullContainerError: pull image manifest has been retried ... / ref pull has been retried

The ECS task couldn’t pull its image — no network route to the registry, missing ECR permissions, or a wrong image tag.

network not foundDocker

Error response from daemon: network X not found

The container or Compose project refers to a Docker network that doesn’t exist (any more).

iptables: No chain/target/matchDocker

driver failed programming external connectivity on endpoint: iptables: No chain/target/match by that name

Docker’s iptables rules were wiped (firewalld/ufw reload, iptables flush) while Docker was running, so it can’t publish ports.

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…

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.

0x80070643Windows

Windows Error 0x80070643: Fatal error during installation

An MSI-based installer or update (often Defender definitions, .NET or the WinRE update KB5034441) failed during installation.

Restarting (1)Docker

Docker container keeps restarting (Restarting (1) x seconds ago)

The container crashes on start and its restart policy (always/unless-stopped/on-failure) starts it again in a loop.

launchctl: Load failed: 5: Input/output errormacOS

macOS: Bootstrap failed: 5: Input/output error / launchctl load: Load failed: 5: Input/output error

launchd couldn't load a LaunchAgent/Daemon plist — it's invalid, already loaded, or has the wrong ownership/permissions.

apache2.service: Failed with result 'exit-code'Nginx / Apache

systemd: apache2.service: Main process exited, code=exited, status=1/FAILURE — Job for apache2.service failed because the control process exited with error code

systemd couldn't start Apache — the real error is in the journal or `apachectl configtest`.

command not foundLinux

bash: command not found

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

Failed to load environment files: No such file or directoryLinux

myapp.service: Failed to load environment files: No such file or directory

`EnvironmentFile=` points to a missing file.

Warning: The unit file changed on disk. Run 'systemctl daemon-reload'Linux

Warning: The unit file, source configuration file or drop-ins of myapp.service changed on disk. Run 'systemctl daemon-reload' to reload units.

systemd is using a stale copy of your unit.

503HTTP

HTTP 503 Service Unavailable

The server is temporarily unable to handle the request — overloaded, in maintenance, or has no healthy backends.

Readiness probe failedKubernetes

Readiness probe failed: HTTP probe failed with statuscode: 503 / connect: connection refused

The container is running, but its readiness check fails, so the pod is marked not ready and removed from Service endpoints.

default backend - 404Kubernetes

Ingress returns "404 Not Found" / "default backend - 404" (ingress-nginx)

The ingress controller received the request but no Ingress rule matched the host/path, so it answered with its default backend.

exec no such file or directoryDocker

exec /docker-entrypoint.sh: no such file or directory (CRLF line endings / missing interpreter)

The entrypoint file exists, but the kernel can’t run it — almost always Windows CRLF line endings in the script, or a shebang poi…

avc: deniedLinux

SELinux is preventing ... / avc: denied { read } for pid=... (permission denied despite correct permissions)

SELinux blocked the access — file permissions look fine, but the file’s security context or a boolean doesn’t allow the service t…

Main process exited, code=exited, status=1/FAILURELinux

systemd[1]: myapp.service: Main process exited, code=exited, status=1/FAILURE

The service's main process exited with a non-zero code.

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.

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…

Container memory limit exceededGoogle Cloud / Firebase

Cloud Run: Memory limit of 512 MiB exceeded with 530 MiB used. Consider increasing the memory limit

The container used more memory than the Cloud Run service allows, so the instance was terminated.

Cloud Run 504: The request has been terminated because it has reached the maximum request timeoutGoogle Cloud / Firebase

Cloud Run: 504 Gateway Timeout — The request has been terminated because it has reached the maximum request timeout

The request ran longer than the service's request timeout (default 5 minutes, max 60), so Cloud Run closed it.

GKE: 0/3 nodes are available: Insufficient cpuGoogle Cloud / Firebase

GKE/Kubernetes: Pod unschedulable — 0/3 nodes are available: 3 Insufficient cpu

The scheduler found no node with enough free CPU/memory for the pod's resource requests.

INSTALL_FAILED_OLDER_SDKAndroid

INSTALL_FAILED_OLDER_SDK / INSTALL_FAILED_DEPRECATED_SDK_VERSION

The device’s Android version is lower than the app’s minSdk (OLDER_SDK), or the app’s targetSdk is too old for this Android versi…

Dependency requires compileSdkAndroid

Dependency 'androidx.x:1.y' requires libraries and applications that depend on it to compile against version 34 or later of the Android APIs

A library needs a higher compileSdk than your module uses (checkAarMetadata task).

android:attr/lStar not foundAndroid

AAPT: error: resource android:attr/lStar not found

A dependency (androidx.core 1.7+) uses an attribute from Android 12 (API 31), but your module compiles against an older compileSd…

Android resource linking failedAndroid

AAPT: error: resource x (aka y) not found — Android resource linking failed

A layout, manifest or style references a resource (drawable, string, style, attribute) that doesn’t exist in the module or its de…

Error building the app bundleAndroid

Execution failed for task ':app:bundleRelease'. Error while executing bundletool

Building the Android App Bundle (.aab) failed in the bundle step.

IllegalStateException: Not allowed to start service Intent (app is in background)Android

java.lang.IllegalStateException: Not allowed to start service Intent { cmp=com.example/.SyncService }: app is in background uid UidRecord{...}

Since Android 8 background apps can't freely start services.

adb unauthorizedAndroid

adb: device unauthorized. This adb server's $ADB_VENDOR_KEYS is not set

The phone hasn’t accepted your computer’s RSA key for USB debugging yet.

no devices/emulators foundAndroid

adb: no devices/emulators found / error: device not found

adb can’t see any connected device or running emulator.

ActivityNotFoundExceptionAndroid

ActivityNotFoundException: Unable to find explicit activity class; have you declared this activity in your AndroidManifest.xml?

An Intent targets an Activity that isn’t declared in the manifest, or an implicit intent has no app to handle it.