It changed the error a little bit, now i get:
Error: Please contact your administrator
Request completed
sailpoint.connector.InvalidRequestException: [ InvalidRequestException ] [ Error details ] Invalid request received to IT Service Desk System. Status: 400, Output: {"timestamp":1703852756328,"status":400,"error":"Bad Request","message":"Required valid information for Headers: csm_app_url , user_auth_token , slice_token , webservice_user_name , webservice_user_password","path":"/csmconnector/ServiceRequest"}
If i dont send any headers on postman, the error is:
Error: Please contact your administrator
Request completed
sailpoint.connector.InvalidRequestException: [ InvalidRequestException ] [ Error details ] Invalid request received to IT Service Desk System. Status: 400, Output: {"timestamp":1702674227481,"status":400,"error":"Bad Request","message":"Required valid information for Headers: csm_app_urlwebservice_user_name , webservice_user_password","path":"/csmconnector/ServiceRequest"}
So i guess now some headers are in the request. Could it be that some special characters are getting broken, like the ‘csm_app_url’? thats why we did the encoding.
The ‘slice_token’ also have: . ( _ $
So i tested with a normal url in the headers, and a slice_token without any special characters (that should be a 401 response):
Request:
"headers": {
"user_auth_token": "myauthtoken",
"slice_token": "wrongslicehope",
"csm_app_url": "https://csmstaging.serviceaide.com/",
"webservice_user_password": "mypass",
"webservice_user_name": "myuser"
}
Response:
Error: Please contact your administrator
Request completed
sailpoint.connector.InvalidConfigurationException: [ InvalidConfigurationException ] [ Possible suggestions ] a) Ensure that the configuration details are correct. b) Ensure that the user is active on the IT Service Desk System. c) For OAuth2, ensure that the access/refresh token is valid or has not expired on the IT Service Desk System. [ Error details ] Authentication failed. Status: 401 , Output: {"data":null,"error":"Failed to authenticate","status":"UNAUTHORIZED"}
Trying to mess with the special characters in the slice_token at the moment.
Thank you!