Article Number
000036904
Applies To
RSA Product Set: Identity Governance & Lifecycle
RSA Product/Service Type: Appliance
RSA Version/Condition: 7.0.1, 7.0.2, 7.1.0
Issue
When processing a request that uses the RSA Identity Governance & Lifecycle REST Web Service Workflow Node, the request fails with the following in the Additional Information section of the Request Status.
HttpStatusCode 500
HttpStatusmsg: Unable to find the configured variable from the response
StatusCode: RSA003
Other error messages are also possible.
Image description
Cause
The error code RSA003 means that the REST Web Service request completed and returned a result. The most likely cause of error code RSA003 is that the Expression Pattern is incorrect. The result may have been a success but the REST Web Service node was unable to parse the response from the Response Variable.
Resolution
To resolve the issue,
- Edit the custom Workflow that processes the request.
- Edit the workflow REST Web Service node.
- In the RESPONSE section, edit the Error Variables.
- Select the Error Response variable open it in the editor.
- Modify the Expression Type (XPath or RegEx).
- Modify the Expression Pattern to ensure it matches the expected substring of the response.
Image description
The exact Expression Type and Expression Pattern must be adjusted to your use case. It is beyond the scope of this article to provide examples of expressions that meet your requirements. Consult the internet for more information on either RegEx or XPath pattern matching examples.
Notes
Here is a list of the RSA REST WebService Workflow Node return codes and messages as well as the HTTP status that is set for these errors.
RSA001 = "Success";
HTTP Status code = <200 or 201>
HTTP Status Message = <Success message>
The web service request and its process is successfully completed.
RSA002 = "Unable to parse the Response";
HTTP Status code = <200 or 201>
HTTP Status Message = <Success message>
The web service request is completed ,but the processing of the response is failed.
RSA003 = "Unable to find the configured variable from the response";
HTTP Status code = <200 or 201>
HTTP Status Message = <Success message>
The web service request is completed ,but the parsing of the workflow variables from the response is failed.
RSA004 = "Request Failed"
HTTP Status code = 0
HTTP Status Message = Null or Empty
The web service request is failed OR exception occurred while sending the request to the external endpoint due to invalid credentials.
RSA005 = "Connection Failed
HTTP Status code = <Integer>
HTTP Status Message = <Failure message>
The web service request or connection to the external endpoint is failed.