PVWA - Invalid ticket ID: A connection error occurred while communicating with the ticketing system
Symptom
After PVWA has been integrated with Enterprise Ticketing System, during validation of the Account access request (e.g show/copy/connect) with the ticketing system, an error below is thrown and unable to proceed with the request:
"Invalid Ticket ID: A connection error occurred while communicating with the ticketing system. Please check the communication settings."
Environment
12.6;13.0;13.2;14.0;14.2;14.4;14.6 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access
PVWA
Cause
PVWA.App.log shows the following error:
EPVBL001D [Ticketing system ServiceNow] [ERROR] RestConnector::GetResponse()->System.Net.WebException: The remote server returned an error: (403) Forbidden.
EPVBL001D [Ticketing system ServiceNow] [ERROR] ConnectionLogic::SubmitRequest()->Failed to retrieve ticket information.
EPVBL001D [Ticketing system ServiceNow] [ERROR] TicketValidator::ValidateTicket()->Exception: System.Exception: A connection error occurred while communicating with the ticketing system. Please check the communication settings. ---> System.NullReferenceException: Object reference not set to an instance of an object.
PASWS001E Error occurred: PASWS112E Input paramater for [TicketID] valud is invalid.
The account used to connect to the Ticketing System doesn't have the required 'ITIL' role.
Resolution
In ServiceNow, assign 'ITIL' role to the account used to integrate with CyberArk.