Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

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

SA-32762

Summary



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+* ".


Resolution



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 18, 2018 - Updated October 8, 2020

Was this useful?

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.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us