API issue - 404 Project Not Found

Hey,

When I send a request to endpoint https://gitlab.com/api/v4/groups/:group.id/projects I get the desired result of 200 - a list of all projects in the group:id.

I use the project:id i got from the previous endpoint to send a request to https://gitlab.com/api/v4/projects/:project.id then I get the response: “message”:“404 Project Not Found” (like I don’t have permissions)

On one endpoint I get 200, and on the other, I get 404.

It happens also on:
https://gitlab.com/api/v4/projects/:id/approvals
https://gitlab.com/api/v4/projects/:id/protected_branches
https://gitlab.com/api/v4/projects/:id/integrations