Salesforce

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

« Go Back
Header
Generic REST AFX Connector fails with ValidationError in RSA Identity Governance & Lifecycle
Generic-REST-AFX-Connector-fails-with-ValidationError-in-RSA-Identity-Governance-Lifecycle
Generic REST AFX Connector fails with ValidationError in RSA Identity Governance & Lifecycle
Work in Progress
1,344.47
Article Content
 
RSA Product Set: RSA Identity Governance & Lifecycle
RSA Version/Condition:  7.0.x, 7.1.0, 7.1.1, 7.2.0
 
When 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}.
 
The Request Header Content-Type is missing the UTF-8 character set option. 
 
Add 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

 
000039230
Article Settings
External
Case
Diane McCoy
8/13/2020 4:44 PM
Diane McCoy
Article Assignment
 
 
 
Article Properties
Published
Knowledge
000043816
Diane McCoy
Admin9 Integration (AWS)
English

Powered by