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