Click HERE to see how Saviynt Intelligence is transforming the industry. |
10/24/2024 05:06 AM
Hello,
I have been trying to create a ticket in Freshdesk via Saviynt. while doing so I encountered the following error: "Error in Ticket Number: Response null". I have attached a screenshot of the error as well.
I am able to create a ticket in freshdesk via postman using the same fields which I used in saviynt.
These are the JSON i am using for this process:
Connection JSON:
{
"authentications": {
"acctAuth": {
"authType": "basic",
"credentials":{
"username":"XXXXXXXXXXX",
"password":"abcd1234"
}
"httpHeaders": {
"contentType": "application/json"
},
"authError": [
"InvalidAuthenticationToken",
"AuthenticationFailed"
],
"url": "<Freshdesktenant.freshdesk.com/api/v2/tickets>",
"httpMethod": "GET",
"httpContentType": "application/json",
"errorPath": "error.code",
"maxRefreshTryCount": 5,
"tokenResponsePath": "access_token",
"tokenType": "Bearer",
"authHeaderName": "Authorization",
"accessToken": "Bearer XXXXXXXXXXX",
"httpParams": "{}",
"retryFailureStatusCode": []
}
}
}
Create ticket JSON:
{
"call": [
{
"name": "call1",
"connection": "acctAuth",
"url": "<freshdesktenant.freshdesk.com/api/v2/tickets>",
"httpMethod": "POST",
"httpParams": "{\"subject\":\"Test Ticket from Saviynt\",\"description\":\"Test Ticket from Saviynt\",\"status\":2,\"priority\":3,\"source\":2,\"unique_external_id\":\"100001\"}",
"httpHeaders": {
"Authorization": "${access_token}"
},
"httpContentType": "application/json",
"ticketidPath": "ticket.id",
"successResponses": {
"statusCode": [
200,
201
]
}
}
]
}
10/24/2024 06:44 AM