error NU1101: Unable to find package X. No packages exist with this id in source(s): nuget.org
NuGet restore can’t find the package in any configured source — typo, private feed not configured/authenticated, or nuget.org missing from sources.
Seen on:
.NET
Meaning
Private packages need the feed in nuget.config and credentials (PAT/credential provider). A nuget.config with <clear/> can remove nuget.org.
Common causes
- Typo in package id
- Private feed not in nuget.config or unauthenticated
- nuget.org removed by <clear/>
- Package unlisted/deleted
⚡ Quick fix
- Check the id on nuget.org
- Add the private source with credentials
- dotnet nuget list source to verify sources
Detailed fix by platform
Shell
- csharp
dotnet nuget list source dotnet nuget add source https://pkgs.dev.azure.com/org/_packaging/feed/nuget/v3/index.json -n company -u any -p "$PAT" --store-password-in-clear-text
How to diagnose
- Sources — Configured feeds
- Auth — Credentials for private feeds
- Id — Exact name
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Similar errors
Most viewed in .NET
- NullReferenceException System.NullReferenceException: Object reference not set to an instance of an object
- FileNotFoundException assembly Could not load file or assembly 'X, Version=…' or one of its dependencies
- InvalidOperationException InvalidOperationException: Unable to resolve service for type 'X' while attempting to activate 'Y'
Other ways to find it
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
Was this page helpful?
Report a correction or suggest an improvement
Last updated 7 Oct 2026