000036904 - RSA Identity Governance & Lifecycle REST Web Service Workflow Node returns error RSA003

Document created by RSA Customer Support Employee on Nov 16, 2018
Version 1Show Document
  • View in full screen mode

Article Content

Article Number000036904
Applies ToRSA Product Set: Identity Governance & Lifecycle
RSA Product/Service Type: Appliance
RSA Version/Condition: 7.0.1, 7.0.2, 7.1.0
IssueWhen 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. 
User-added image
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.
 






     



    ResolutionTo resolve the issue,
    1. Edit the custom Workflow that processes the request. 
    2. Edit the workflow REST Web Service node. 
    3. In the RESPONSE section, edit the Error Variables.   
    4. Select the Error Response variable open it in the editor.
    5. Modify the Expression Type (XPath or RegEx).
    6. Modify the Expression Pattern to ensure it matches the expected substring of the response.

    User-added image


    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. 
    NotesHere 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.

    Attachments

      Outcomes