jb error: archive install failed: unexpected status code 404

Tony Choe
Sep 29, 2021

If jb (jsonnet-builder) returns this error, open jsonnetfile.json file and check if the source is still correct.

For example, if the git repo in the source started changing their branch from master to main, jb won’t be able to download the jsonnet library.

    {
"source": {
"git": {
"remote": "https://github.com/grafana/loki.git",
"subdir": "production/ksonnet/loki"
}
},
"version": "main"
},

--

--