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?
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:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.