Forums

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

When I make a call to the JSD Customer api I get a 412 error

Dave Menconi
Contributor
May 5, 2020

I'm making a call to the following API:

GET {host}/rest/servicedeskapi/servicedesk/{serviceDeskId}/customer


This is supposed to get me a list of the customers.

I get a 412 error. I assumed this meant I was putting a bad number in the ID field. 

I tried the ID #, the project ID and the key as well as "projectKey:{key}" and "projectId:{productid}"

I know the values are good because I did a successful call to

GET {host}/rest/servicedeskapi/servicedesk

And used that data. And because that worked I know my authentication is working.  I'm using an account with admin privs.

 

Any ideas why I'm getting a 412 error instead of a list of customers? 

1 answer

1 accepted

2 votes
Answer accepted
Neil Mansilla
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 5, 2020

Hi @Dave Menconi - according to the docs (assuming you're developing against JSD Cloud), a 412 means that the method/resource is experimental, and that you didn't pass in a required request header:

X-ExperimentalApi: opt-in

 See: 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events