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

Error when response body in pyConnect-REST starts with "["



Error occurs when the response body in the pyConnect-REST connector starts and ends with "[" and "]" respectively.

Error Messages

** Error mapping incoming response to .response_GET: Can not deserialize instance of java.util.LinkedHashMap out of START_ARRAY token  at [Source:; line: 1, column: 1]

Steps to Reproduce

Connect to an external system which sends a JSON file starting with [.

Root Cause

Pega uses third party Jackson APIs libraries to parse JSON files. The library accepts only an object, however, in this case, an array is sent.


Perform one of the following local-changes:
  • Change the JSON at the source level (external system)
  • Capture the raw response string into a Text property mapped to the clipboard and then use the parsing logic to extract the required text into the corresponding clipboard properties.


Published August 15, 2019 - Updated October 8, 2020

Was this useful?

0% 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