GitLab API Authentication problem https://gitlab.com/api/v4/projects//repository/tags => return 404

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

GET https://gitlab.com/api/v4/projects/<projectId>/repository/tags returns {"message":"404 Project Not Found"}

Steps to reproduce

This worked before the week, I'm using a project deployment token that is still valid (never expire). I also tried group token, but I had the same problem.

curl --location --request GET 'https://gitlab.com/api/v4/projects/469473/repository/tags' --header 'Authorization: Bearer $TOKEN' I get {"message":"404 Project Not Found"} now

I also tried another way how to authenticate, using query param curl --location --request GET 'https://gitlab.com/api/v4/projects/469473/repository/tags?private_token=$TOKEN'

Or using header PRIVATE-TOKEN curl --location --request GET 'https://gitlab.com/api/v4/projects/469473/repository/tags' --header 'private-token: $TOKEN'

All attempts return 404 for tokens stored in the past.

I also tried to create a new token but for all new tokens I get {"message":"401 Unauthorized"}

Example Project

What is the current bug behavior?

I'm not able to get data via API and I think that it is because I can't set read_api scope for deploy tokens

What is the expected correct behavior?

I should get data, tokens are valid

Relevant logs and/or screenshots

List of active tokens (project tokens) obrazek

Edited by 🤖 GitLab Bot 🤖