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

pyStatusValue displays 'good' instead of the HTTP response code

SA-69952

Summary



In earlier versions of Pega, when the REST Connector is run, the pyStatusValue property is set to the HTTP response code. 
In Pega 7.4, pyStatusValue property is not set to the HTTP response code. Instead, the property is set to 'good' on a success or 'error' on a failure.



Error Messages



Not Applicable


Steps to Reproduce



Run a REST Connector.


Root Cause



Pega 7.4 has two similar but un-identical fields for a response status:
  • pyStatusValue - This a generic value that is returned for all connectors. It provides a human readable code such as 'good' for a correct response.
  • pyHttpResponseValue - This returns the actual three-digit HTTP response code.


Resolution



Perform the following local-change to obtain the HTTP response code:

Use pyHttpResponseValue instead of pyStatusValue.


 

Published February 23, 2019 - Updated December 2, 2021

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