Hi,
I am trying to use servicedesk-rest-api (rest/servicedeskapi/servicedesk/customer) to create a customer with json body
{"displayName": "Name",
"email": "email"
}
but it fails with a 404 error
{
"errorMessage": "Invalid project key 'customer'",
"i18nErrorMessage": {
"i18nKey": "sd.error.project.by.key.not.found",
"parameters": [
"customer"
]
}
}
I used api token with basic auth and I have administrator access for that service desk project.
Can someone please tell what does the error really means
Hi,
that means there is no API endpoint on that URL.
https://en.wikipedia.org/wiki/HTTP_404
Based on documentation you could try to use URL below
https://your-domain.atlassian.net/rest/servicedeskapi/customer
https://developer.atlassian.com/cloud/jira/service-desk/rest/#api-rest-servicedeskapi-customer-post
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.