oven-sh/bun · error · bun_install::Error
TarballHTTP4xx
Error message
TarballHTTP4xx
What it means
The registry returned an unexpected 4xx client error for a package tarball request, not covered by the specific 400/401/402/403/404 codes. Indicates the request was rejected for reasons like malformed auth or unsupported request parameters.
Solutions
- Retry the install — transient 4xx responses can occur with some registries
- Verify registry authentication tokens are valid and not expired
- Check the registry URL and scoped registry configuration in .npmrc or bunfig.toml
Defensive patterns
Strategy: retry
When it happens
Trigger: Thrown at src/install/error.rs:29 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of oven-sh/bun@8c5296ac45 (2026-08-16).
Data as JSON: /api/errors/04650409749f89bb.
Report an issue: GitHub.
Appendix: source
Thrown at src/install/error.rs:29
#[error("SymLinkLoop")]
SymLinkLoop,
#[error("SystemFdQuotaExceeded")]
SystemFdQuotaExceeded,
#[error("SystemResources")]
SystemResources,
#[error("DeviceBusy")]
DeviceBusy,
#[error("TarballHTTP400")]
TarballHTTP400,
#[error("TarballHTTP401")]
TarballHTTP401,
#[error("TarballHTTP402")]
TarballHTTP402,
#[error("TarballHTTP403")]
TarballHTTP403,
#[error("TarballHTTP404")]
TarballHTTP404,
#[error("TarballHTTP4xx")]
TarballHTTP4xx,
#[error("TarballHTTP5xx")]
TarballHTTP5xx,
#[error("TarballFailedToExtract")]
TarballFailedToExtract,
#[error("TarballFailedToDownload")]
TarballFailedToDownload,
#[error("BadRequest")]
BadRequest,
#[error("TooManyRequests")]
TooManyRequests,
#[error("HTTPInternalServerError")]
HTTPInternalServerError,
#[error("UnexpectedNotModified")]
UnexpectedNotModified,
#[error("PackageFailedToParse")]
PackageFailedToParse,
#[error("BufferTooSmall")]View on GitHub (pinned to 8c5296ac45)