000039230 - Generic REST AFX Connector fails with ValidationError in RSA Identity Governance & Lifecycle

Document created by RSA Customer Support Employee on Aug 13, 2020
Version 1Show Document
  • View in full screen mode

Article Content

Article Number000039230
Applies ToRSA Product Set: RSA Identity Governance & Lifecycle
RSA Version/Condition:  7.0.x, 7.1.0, 7.1.1, 7.2.0
 
IssueWhen passing a Command Input Parameter value that is encased in double quotes as part of a Generic REST AFX Connector capability, the transaction fails with:
 
Error code = 4
ValidationError
Cause:
{"code":"InvalidData",...

 


User-added image


Input parameters are defined under AFX > Connectors > {Connector name} > Edit > Capabilities tab > {Capability name}.
 
CauseThe Request Header Content-Type is missing the UTF-8 character set option. 
 
ResolutionAdd the UTF-8 character set option to the Request Header Content-Type. Change the Request Header definition by going to AFX > Connectors > {Connector name} > Edit > Capabilities tab > {Capability name} > Request Headers and adding the UTF-8 character set to the existing Content-Type Request Header definition.

For example, if the Request Header Content-Type is set to:

application/json

Change the Request Header Content-Type to:


application/json;charset=UTF-8


EXAMPLE:
 
User-added image


 

Attachments

    Outcomes