Receiving 403 Forbidden error while fetching a single Issue using GitLab REST API

  • I am trying to fetch a GitLab Issue data with the help of GitLab REST API.
  • But I am getting 403 Forbidden error.
  • The Access Token, I am using, has full access to GitLab.
  • I am following this documentation: Issues API | GitLab
  • I have attached the curl request, which I am using to call the API.
  • Can someone please help me with this?
curl -v \
-X GET \
"{{ issue_iid }}" \
-H 'PRIVATE-TOKEN: xxxxxxxxxx' \
-H 'User-Agent: dummy_user_agent'