{"record":{"id":"5a29a42059687e50","repo":"oven-sh/bun","slug":"tarballhttp5xx","errorCode":null,"errorMessage":"TarballHTTP5xx","messagePattern":"TarballHTTP5xx","errorType":"error_code","errorClass":"bun_install::Error","httpStatus":null,"severity":"error","filePath":"src/install/error.rs","lineNumber":31,"sourceCode":"    #[error(\"SystemFdQuotaExceeded\")]\n    SystemFdQuotaExceeded,\n    #[error(\"SystemResources\")]\n    SystemResources,\n    #[error(\"DeviceBusy\")]\n    DeviceBusy,\n    #[error(\"TarballHTTP400\")]\n    TarballHTTP400,\n    #[error(\"TarballHTTP401\")]\n    TarballHTTP401,\n    #[error(\"TarballHTTP402\")]\n    TarballHTTP402,\n    #[error(\"TarballHTTP403\")]\n    TarballHTTP403,\n    #[error(\"TarballHTTP404\")]\n    TarballHTTP404,\n    #[error(\"TarballHTTP4xx\")]\n    TarballHTTP4xx,\n    #[error(\"TarballHTTP5xx\")]\n    TarballHTTP5xx,\n    #[error(\"TarballFailedToExtract\")]\n    TarballFailedToExtract,\n    #[error(\"TarballFailedToDownload\")]\n    TarballFailedToDownload,\n    #[error(\"BadRequest\")]\n    BadRequest,\n    #[error(\"TooManyRequests\")]\n    TooManyRequests,\n    #[error(\"HTTPInternalServerError\")]\n    HTTPInternalServerError,\n    #[error(\"UnexpectedNotModified\")]\n    UnexpectedNotModified,\n    #[error(\"PackageFailedToParse\")]\n    PackageFailedToParse,\n    #[error(\"BufferTooSmall\")]\n    BufferTooSmall,\n    #[error(\"DanglingSymlink\")]","sourceCodeStart":13,"sourceCodeEnd":49,"githubUrl":"https://github.com/oven-sh/bun/blob/8c5296ac459e8252d3cd702f3fbcbb0c249d95d5/src/install/error.rs#L13-L49","documentation":"Sentinel variant of the install Error enum: downloading a package tarball from the registry returned any 5xx server-error status. The specific status code is not embedded; siblings cover 400-404 and generic 4xx, and TarballFailedToDownload covers non-HTTP download failures.","triggerScenarios":"Thrown at src/install/error.rs:31 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Retry the install after a delay — 5xx errors are typically transient","Check the registry's status page for ongoing incidents","Switch to a mirror registry if the primary is persistently failing"],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"8c5296ac459e8252d3cd702f3fbcbb0c249d95d5","analyzedAt":"2026-08-16T08:01:58.794Z","contentChangedAt":"2026-08-16T08:01:58.794Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}