- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.
07-12-2021 08:29 AM
Hi,
I'm currently developing a ticketing integration module for a customer with custom requirements. I am wondering how to customize the error message given to the user if the ticket valdiation fails.
According to docs there is a parameter "UserMessage" (from ITicketOutput ticketingOutput) which is described as:
"An error message that will be returned if the ticket was not approved. If the ticket validation fails (returns false), this message will be displayed to the user requesting the password (string type)."
But no matter what I try the error message for the user in PVWA always is the generic "Invalid ticket ID". The value of "UserMessage" is not shown to the user.
The value of "UserMessage" is visible in the PVWA Application log if validation fails though.
Someone has a clue what I can/need to change?
08-12-2021 06:09 AM
This problem seems to be fixed in newer versions. If ticket validation fails, PVWA will now correctly display the string value (ticketingOutput.UserMessage).
Testing before writing the initial post was done with v11.7 and after upgrading my lab environment to v12.2 it worked without changing the validator at all.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

