Error map

remote: fatal: pack exceeds maximum allowed size remote: fatal: pack exceeds maximum allowed size (2.00 GiB)

Git · layer 7, Build & delivery

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.

remote: fatal: pack exceeds maximum allowed size — remote: fatal: pack exceeds maximum allowed size (2.00 GiB) (Git)remote: fat…GH001 large files — remote: error: GH001: Large files detected. File x is 120 MB; this exceeds GitHub's file size limit of 100.00 MB (Git)GH001 large filesnon-fast-forward — Git: ! [rejected] … (fetch first) — error: failed to push some refs (Git)non-fast-forwardUpdates were rejected after git commit --amend (rewrote pushed commit) — ! [rejected] main -> main (non-fast-forward) after amend (Git)Updates were reject…GitLab: You are not allowed to push code to protected branches — remote: GitLab: You are not allowed to push code to protected branches on this project. (Git)GitLab: You are not…Bitbucket: Branch permissions prevent push — remote: Branch permissions: You are not allowed to push to branch main (Git)Bitbucket: Branch p…Azure DevOps: TF401019 / VS403 push rejected — remote: TF401027: You need the GenericContribute permission to perform this action. (Git)Azure DevOps: TF401…error: Could not read ... fatal: pack has bad object / index-pack failed — fatal: pack has bad object at offset 12345: inflate returned -3 (Git)error: Could not re…fatal: pack-objects died of signal 9 / out of memory — error: pack-objects died of signal 9 fatal: the remote end hung up unexpectedly (Git)fatal: pack-objects…fatal: protocol error: bad pack header — fatal: protocol error: bad pack header (Git)fatal: protocol err…ITMS-90078: Missing Push Notification Entitlement — ITMS-90078: Missing Push Notification Entitlement - Your app appears to register with the Apple Push Notification service (iOS)ITMS-90078: Missing…APNs: 410 Unregistered / DeviceTokenNotForTopic — {"reason":"Unregistered","timestamp":1700000000} (iOS)APNs: 410 Unregiste…Notification Service Extension not modifying push content — (behavior) rich push image/mutable-content not working (iOS)Notification Servic…src refspec — error: src refspec main does not match any (Git)src refspecRPC failed — error: RPC failed; HTTP 400 curl 22 / curl 92 HTTP/2 stream was not closed cleanly — the remote end hung up unexpectedly (Git)RPC failedprotected branch — remote: error: GH006: Protected branch update failed / pre-receive hook declined (Git)protected branchCONFLICT — Git: CONFLICT (content): Merge conflict in file — Automatic merge failed (Git)CONFLICTpublickey — Git: Permission denied (publickey). fatal: Could not read from remote repository. (Git)publickeyunrelated histories — Git: fatal: refusing to merge unrelated histories (Git)unrelated historiesnon-bare push — ! [remote rejected] main -> main (branch is currently checked out) (Git)non-bare pushno upstream branch — fatal: The current branch x has no upstream branch. (Git)no upstream branchgit bisect: some good revs are not ancestors of the bad rev — Some good revs are not ancestors of the bad rev. git bisect cannot work properly in this case. (Git)git bisect: some go…! [rejected] (stale info) force-with-lease — ! [rejected] main -> main (stale info) (Git)! [rejected] (stale…error: Unpack failed / remote unpack failed: unable to create temporary object directory — remote: error: unable to create temporary object directory (Git)error: Unpack faile…hint: The 'pre-commit' hook was ignored because it's not set as executable — hint: The '.git/hooks/pre-commit' hook was ignored because it's not set as executable. (Git)hint: The 'pre-comm…0x80070005 — Windows Error 0x80070005 (E_ACCESSDENIED): Access is denied (Windows)0x80070005sudoers — user is not in the sudoers file. This incident will be reported. (Linux)sudoersshallow update not allowed — ! [remote rejected] main -> main (shallow update not allowed) (Git)shallow update not …UNPROTECTED PRIVATE KEY FILE — WARNING: UNPROTECTED PRIVATE KEY FILE! Permissions 0644 for 'key.pem' are too open (Linux)UNPROTECTED PRIVATE…avc: denied — SELinux is preventing ... / avc: denied { read } for pid=... (permission denied despite correct permissions) (Linux)avc: deniedResource not accessible by integration — GitHub Actions: Error: Resource not accessible by integration (403) (CI/CD)Resource not access…corrupt object — error: object file .git/objects/x is empty / fatal: loose object is corrupt (Git)corrupt objectearly EOF — fatal: early EOF — fatal: index-pack failed (Git)early EOFAutomatic Repair couldn't repair your PC — Automatic Repair couldn't repair your PC — Log file: C:\Windows\System32\Logfiles\Srt\SrtTrail.txt (Windows)Automatic Repair co…MEMORY_MANAGEMENT — Blue Screen: MEMORY_MANAGEMENT (Stop code 0x0000001A) (Windows)MEMORY_MANAGEMENTSIGSEGV — Segmentation fault (core dumped) (Linux)SIGSEGVOOM killer — Killed / Out of memory: Killed process (Linux OOM killer) (Linux)OOM killerHost key verification failed — Host key verification failed. fatal: Could not read from remote repository. (Git)Host key verificati…kex_exchange_identification — kex_exchange_identification: Connection closed by remote host (Git)kex_exchange_identi…Too many authentication failures — Received disconnect: Too many authentication failures (Linux)Too many authentica…FCM: Fetching FCM registration token failed — FirebaseMessaging: Fetching FCM registration token failed java.io.IOException: SERVICE_NOT_AVAILABLE (Android)FCM: Fetching FCM r…! [rejected] v1.0 -> v1.0 (already exists) — ! [rejected] v1.0.0 -> v1.0.0 (already exists) error: failed to push some refs (Git)! [rejected] v1.0 -…GH013: Push cannot contain secrets — remote: error: GH013: Repository rule violations found. - Push cannot contain secrets (Git)GH013: Push cannot …Resource protected by organization SAML enforcement — remote: Resource protected by organization SAML enforcement. You must grant your Personal Access token access to this organization. (Git)Resource protected …gh: HTTP 401: Bad credentials — gh: Bad credentials (HTTP 401) / error validating token: HTTP 401 (Git)gh: HTTP 401: Bad c…remote: HTTP Basic: Access denied (GitLab) — remote: HTTP Basic: Access denied. The provided password or token is incorrect or your account has 2FA enabled (Git)remote: HTTP Basic:…error: failed to push some refs: pre-push hook failed — error: failed to push some refs to 'github.com:org/repo.git' (pre-push hook returned non-zero) (Git)error: failed to pu…No valid 'aps-environment' entitlement string found — Failed to register for remote notifications: no valid “aps-environment” entitlement string found for application (iOS)No valid 'aps-envir…APNs: BadDeviceToken (400) — {"reason":"BadDeviceToken"} HTTP/2 400 from api.push.apple.com (iOS)APNs: BadDeviceToke…

Directly related (12)

GH001 large filesGit

remote: error: GH001: Large files detected. File x is 120 MB; this exceeds GitHub's file size limit of 100.00 MB

GitHub rejected the push because a file over 100 MB is in your commits — even if you deleted it later.

non-fast-forwardGit

Git: ! [rejected] … (fetch first) — error: failed to push some refs

The remote branch has commits you don’t have locally, so Git refuses to overwrite them. Pull (merge or rebase) first, then push.

Updates were rejected after git commit --amend (rewrote pushed commit)Git

! [rejected] main -> main (non-fast-forward) after amend

Amending a pushed commit rewrites history, so the remote refuses the push.

GitLab: You are not allowed to push code to protected branchesGit

remote: GitLab: You are not allowed to push code to protected branches on this project.

GitLab's protected branch settings block your push.

Bitbucket: Branch permissions prevent pushGit

remote: Branch permissions: You are not allowed to push to branch main

Bitbucket branch restrictions reject your direct push.

Azure DevOps: TF401019 / VS403 push rejectedGit

remote: TF401027: You need the GenericContribute permission to perform this action.

Azure DevOps denies the push for lack of permission.

error: Could not read ... fatal: pack has bad object / index-pack failedGit

fatal: pack has bad object at offset 12345: inflate returned -3

A packfile is damaged.

fatal: pack-objects died of signal 9 / out of memoryGit

error: pack-objects died of signal 9 fatal: the remote end hung up unexpectedly

Git ran out of memory while packing objects.

fatal: protocol error: bad pack headerGit

fatal: protocol error: bad pack header

Git received garbage instead of a pack, from a proxy or broken server.

ITMS-90078: Missing Push Notification EntitlementiOS

ITMS-90078: Missing Push Notification Entitlement - Your app appears to register with the Apple Push Notification service

The app uses push but lacks the aps-environment entitlement.

APNs: 410 Unregistered / DeviceTokenNotForTopiciOS

{"reason":"Unregistered","timestamp":1700000000}

The device token is no longer valid (app uninstalled or token rotated).

Notification Service Extension not modifying push contentiOS

(behavior) rich push image/mutable-content not working

The Notification Service Extension isn't being invoked.

Two steps away (36)

src refspecGit

error: src refspec main does not match any

You pushed a branch name that doesn’t exist locally — usually no commits yet, or the branch is called master not main.

RPC failedGit

error: RPC failed; HTTP 400 curl 22 / curl 92 HTTP/2 stream was not closed cleanly — the remote end hung up unexpectedly

A large HTTPS push/clone broke mid-transfer — size limits, proxies or flaky HTTP/2.

protected branchGit

remote: error: GH006: Protected branch update failed / pre-receive hook declined

The server rejected your push because of branch protection rules or a server-side hook.

CONFLICTGit

Git: CONFLICT (content): Merge conflict in file — Automatic merge failed

Both branches changed the same lines; Git needs you to choose the final content before completing the merge/rebase.

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.

unrelated historiesGit

Git: fatal: refusing to merge unrelated histories

The two branches have no common ancestor — typically a local repo and a remote that were both initialized separately.

non-bare pushGit

! [remote rejected] main -> main (branch is currently checked out)

You pushed to a non-bare repository whose working tree has that branch checked out.

no upstream branchGit

fatal: The current branch x has no upstream branch.

The local branch isn’t linked to a remote branch yet, so a bare git push doesn’t know where to go.

git bisect: some good revs are not ancestors of the bad revGit

Some good revs are not ancestors of the bad rev. git bisect cannot work properly in this case.

The commit you marked good isn't in the history of the bad one.

! [rejected] (stale info) force-with-leaseGit

! [rejected] main -> main (stale info)

`--force-with-lease` refused because the remote changed since your last fetch.

error: Unpack failed / remote unpack failed: unable to create temporary object directoryGit

remote: error: unable to create temporary object directory

The server couldn't store the pushed objects.

hint: The 'pre-commit' hook was ignored because it's not set as executableGit

hint: The '.git/hooks/pre-commit' hook was ignored because it's not set as executable.

Git skipped your hook because it lacks exec permission.

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…

sudoersLinux

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

Your account isn’t allowed to use sudo.

shallow update not allowedGit

! [remote rejected] main -> main (shallow update not allowed)

You pushed from a shallow clone to a remote that doesn’t accept shallow history.

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).

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…

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).

corrupt objectGit

error: object file .git/objects/x is empty / fatal: loose object is corrupt

The local Git object database is corrupted — usually after a crash, disk full or sync tool interference.

early EOFGit

fatal: early EOF — fatal: index-pack failed

A clone or fetch was cut off mid-transfer.

Automatic Repair couldn't repair your PCWindows

Automatic Repair couldn't repair your PC — Log file: C:\Windows\System32\Logfiles\Srt\SrtTrail.txt

Windows failed to boot repeatedly and Startup Repair couldn’t fix it; SrtTrail.txt records the root cause it found.

MEMORY_MANAGEMENTWindows

Blue Screen: MEMORY_MANAGEMENT (Stop code 0x0000001A)

Windows detected a severe memory-management error — commonly faulty RAM, unstable memory settings or a bad driver.

SIGSEGVLinux

Segmentation fault (core dumped)

A program accessed memory it wasn’t allowed to, and the kernel killed it with SIGSEGV (exit code 139).

OOM killerLinux

Killed / Out of memory: Killed process (Linux OOM killer)

The kernel ran out of memory and killed a process to recover — the program just prints “Killed” (exit code 137).

Host key verification failedGit

Host key verification failed. fatal: Could not read from remote repository.

SSH doesn’t trust the server’s host key — first connection in a non-interactive environment, or the key changed.

kex_exchange_identificationGit

kex_exchange_identification: Connection closed by remote host

The SSH connection was closed before the handshake — server overload, rate limiting, or a proxy/firewall interfering.

Too many authentication failuresLinux

Received disconnect: Too many authentication failures

Your SSH agent offered too many keys before the right one, and the server cut the connection (MaxAuthTries, default 6).

FCM: Fetching FCM registration token failedAndroid

FirebaseMessaging: Fetching FCM registration token failed java.io.IOException: SERVICE_NOT_AVAILABLE

The device couldn't register with Firebase Cloud Messaging.

! [rejected] v1.0 -> v1.0 (already exists)Git

! [rejected] v1.0.0 -> v1.0.0 (already exists) error: failed to push some refs

The remote already has that tag pointing elsewhere.

GH013: Push cannot contain secretsGit

remote: error: GH013: Repository rule violations found. - Push cannot contain secrets

GitHub blocked the push because a commit contains a detected secret.

Resource protected by organization SAML enforcementGit

remote: Resource protected by organization SAML enforcement. You must grant your Personal Access token access to this organization.

Your token or SSH key isn't authorized for the org's SSO.

gh: HTTP 401: Bad credentialsGit

gh: Bad credentials (HTTP 401) / error validating token: HTTP 401

The GitHub CLI token is invalid or expired.

remote: HTTP Basic: Access denied (GitLab)Git

remote: HTTP Basic: Access denied. The provided password or token is incorrect or your account has 2FA enabled

GitLab rejected your HTTPS login.

error: failed to push some refs: pre-push hook failedGit

error: failed to push some refs to 'github.com:org/repo.git' (pre-push hook returned non-zero)

A local pre-push hook returned an error and blocked the push.

No valid 'aps-environment' entitlement string foundiOS

Failed to register for remote notifications: no valid “aps-environment” entitlement string found for application

The app is missing the Push Notifications capability in its signing.

APNs: BadDeviceToken (400)iOS

{"reason":"BadDeviceToken"} HTTP/2 400 from api.push.apple.com

APNs rejected the device token for the environment you used.