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:
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.