API returns 403 response when there are no merge requests

Hi, we are trying to access the merge requests using V4 REST API.

We can get the project issues but whenever we try to get the merge_requests, we get 403 error.

Here is the URL: https://gitlab.com/api/v4/projects/33181331/merge_requests

And here is the project id: 33181331

A customer complained that they don't have any merge requests in the project, so we expect to get an empty array rather than an error. I guess that's how it works for the other entities.

Thank you, Nairi

Assignee Loading
Time tracking Loading