Set Error Details node
PingAM
The Set Error Details node adds details to the JSON response when
a journey ends in an error. You can configure the node properties to return an
error message and extra information in the form of static key:value
fields.
Place the Set Error Details node before the node that errors in the journey.
Compatibility
Product | Compatible? |
---|---|
Advanced Identity Cloud |
No |
PingAM (self-managed) |
Yes |
Ping Identity Platform (self-managed) |
Yes |
Configuration
Property | Usage | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Error Message |
The message to add to the JSON response when a journey ends in an error. Add a custom, localized message per locale:
|
||||||||||||
Error Details |
The details to add to the JSON response when a journey ends in an error:
|
1 Specify a
locale that Java supports, such as en-gb
. Otherwise, the node throws a configuration exception with an Invalid locale provided
message.
Outcomes
Single outcome path: when the journey ends in an error, this node adds the configured details to the JSON response.
Examples
This example uses the Set Error Details node to handle errors from the Identity Assertion node when the journey ends in an error.

-
The Set Error Details node adds details to the JSON response when the journey ends in an error. This example uses the following configuration:
- Error Message
-
-
Key:
en-gb
-
Value:
Identity assertion failure
-
- Error Details
-
-
Key:
errorUrl
-
Value:
https://example.com/error
-
-
The Identity Assertion node is configured as described in the documentation.
If an error is encountered, the Set Error Details node displays the configured message to the user and adds both the message and the details to the JSON response.
For example:
{ "code": 401, "reason": "Unauthorized", "message": "Identity assertion failure", "detail": { "errorUrl": "https://example.com/error" } }
json