Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JIRA REST API Error 500 "Internal server error"

Chien-Hao Chen July 10, 2018

Hi, I'm trying to get some information using JQL via REST API, but I got this:

{ "errorMessages": [ "Internal server error" ], "errors": {} }

Even if I use the following simple request, still getting the same error:

localhost:2990/jira/rest/api/2/search

 

So I tried other type methods like: 

localhost:2990/jira/rest/api/2/issue/{issueIdOrKey}
localhost:2990/jira/rest/api/2/filter/favourite
..

They are everything fine except /rest/api/2/search.

 

Need your helps and advice,

Sincerely,

 

 

1 answer

1 vote
Andy Heinzer
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 12, 2018

Hi Hao,

From the error you are seeing, it would tend to indicate that either the parameters are incorrect or that the json package is incorrect.  Please see the KB Get an internal server error message when trying to create a new issue through REST method

Granted that KB is about trying to create a new issue in jira, but the error is identical, and I believe the source of the problem here is also the same.  Please check the Searching for issues examples to make sure that your GET calls are using the correct headers, payload, and endpoint with parameters

Suggest an answer

Log in or Sign up to answer