Skip to content

API repository/archive 404s for no apparent reason

Summary

/repository/archive API returns 404 for a public project

Steps to reproduce

curl -D- 'https://gitlab.com/api/v4/projects/airbornemint%2fpspline.inference/repository/archive'

Example Project

https://gitlab.com/api/v4/projects/airbornemint/pspline.inference

What is the current bug behavior?

{"error":"404 Not Found"}

What is the expected correct behavior?

Archive instead of 404

Relevant logs and/or screenshots

curl -D- 'https://gitlab.com/api/v4/projects/airbornemint%2fpspline.inference/repository/tree'

works fine so I know the project is accessible

Output of checks

This bug happens on GitLab.com

Edited by Iris Artin