Forums

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

Where to get the values that are showing in the error message

Kartik Gour March 15, 2022

I am hitting the api ( url/rest/api/2/search?jql=some_jql) and I am getting this error message 

"errorMessages": [
"The value '*****' does not exist for the field 'Project'.",
"The value '*****' does not exist for the field 'Project'.",
"The value '***** Platform' does not exist for the field 'Project'.",
"The value '*****' does not exist for the field 'fixVersion'.",
"Not able to sort using field 'cf[*****]'."
],
"errors": {}
}

from where should I get these values

1 answer

0 votes
Tansu Akdeniz
Community Champion
March 15, 2022

Hi @Kartik Gour 

Welcome to the community!

Where do you call this api? Do you pass the credentials (basic auth) as expected? Please double check the login user.

Kartik Gour March 21, 2022

Hii @Tansu Akdeniz 

I am calling this api from the localhost:4001/getData that would be return the response (as jira tickets). and I have passed the correct the credentials. 

{
params: {
headers: {
Authorization:
'Basic a2FydGlrLm*********************MTk5OUtHISgoKA==',
'Content-Type': 'application / json'
},
},
}

I have to integrate the filter to the api, but the issue is that the BatApps, LIA, fixVersion is dynamically coming from the jira server so I need the confluence that can helping me to resolve this issue

Suggest an answer

Log in or Sign up to answer