API: Listing issues API call 403 forbidden

Added by Ismail Noman 28 days ago

for one of my specific redmine account (company), '/issues.json' API call returns NULL. Actually this is the output of this call
curl -v -H "Content-Type: application/json" -H "X-Redmine-API-Key: XXXXXXXXXXXXYYYYYYYYYYYY" http://HOST_URL/issues.json

< HTTP/1.1 403 Forbidden
< X-Frame-Options: SAMEORIGIN
< X-XSS-Protection: 1; mode=block
< X-Content-Type-Options: nosniff
< Content-Type: application/json
< Content-Length: 0
< Cache-Control: no-cache
< X-Request-Id: 77981782-434f-4665-8a4c-2c3919fb11f4
< X-Runtime: 0.013814
< Connection: keep-alive
< Server: thin
<
  • Connection #0 to host left intact

It doesn't return the json like this {"issues":[],"total_count":0,"offset":0,"limit":25}.
Though for my other redmine account (company) this works perfectly. For that redmine account '/projects.json' API get redirected to 'favorite_projects/search.json'
Anyone having this similar problem or can give me an idea how can I debug this problem. I think favorite_projects plugin creates the problem to fetch projectes, but not sure why issues.json returns null.