dotnet restore NU1301: Unable to load the service index for source (401 / TLS)
Expired private NuGet PAT token or missing system root certs on Linux.
Runs locally in browser
Free · No login
Independently Verified 2026-11-25
v4.1.0
Identifier: dotnet restore NU1301
Platform: DotNet
Common Root Causes:
- Expired private NuGet PAT token or missing system root certs on Linux.
Interactive Diagnostic Checklist
Verified Solutions:
- Refresh credentials in `nuget.config` / credential provider and verify `ca-certificates`.
Safe Diagnostic Command:
dotnet nuget list source
Warning: Verify configuration changes in staging or with dry-run flags (e.g. nginx -t) before reloading production services.
Technical Explanation
Expired private NuGet PAT token or missing system root certs on Linux. Recommended diagnostic: `dotnet nuget list source`. Remediation: Refresh credentials in `nuget.config` / credential provider and verify `ca-certificates`.
Worked Examples
- Run `dotnet nuget list source` to verify root cause before applying the remediation.
Limitations & Assumptions
- Always verify configuration changes in staging or with dry-run flags (e.g. `nginx -t`) before reloading production services.
Source References & Verification
Resource ID: err-dotnet-nuget-restore-ssl-401 · Independently verified: 2026-11-25