Support Article

A string value is required for JSON mapping (Connect-REST)



An error occurs for a REST Connector that did not occur in previous releases, for example. Pega 7.2.1.

Error Messages

** ** A string value is required for JSON mapping. Received: [B

Steps to Reproduce

  1. Configure a data page sourced from a REST Connector.
  2. Run it.

Root Cause

A defect in Pegasystems' code or rules for Pega 7.2.2 (fixed in Pega 7.3)

The logic that Connect-REST uses to determine if the remote system has sent text back to Pega is not compatible with
some JSON-related Content Types, when compared to previous versions of Pega.
The JSON Content-Types supported are “application/json” or those that match the pattern “application/*+json” and this
leaves out those that match the pattern “application/json+* ".


Update or upgrade to the latest Pega Platform release.
If you cannot update or upgrade and must continue using Pega 7.2.2, apply HFix-31648.

Published January 23, 2017 - Updated January 18, 2018

100% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.