We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63050ea commit 505c0dcCopy full SHA for 505c0dc
1 file changed
services/apps/packages_worker/src/maven/metadata.ts
@@ -111,7 +111,9 @@ export async function resolveVersionsList(
111
} catch (err) {
112
if (axios.isAxiosError(err)) {
113
const status = err.response?.status
114
- if (status === 404) return { kind: 'NOT_FOUND' }
+ // 404 = standard not-found. 401 = JitPack's response for packages that
115
+ // don't exist as public builds (JitPack uses 401 instead of 404 here).
116
+ if (status === 404 || status === 401) return { kind: 'NOT_FOUND' }
117
// 429 = explicit rate limit, 403 = CDN throttle (Maven Central uses both)
118
if ((status === 429 || status === 403) && attempt < MAX_RETRIES) {
119
const delay = RETRY_BASE_MS * 2 ** attempt + Math.random() * 500
0 commit comments