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

Pega REST Service is sending incorrect Content-Type

SA-30966

Summary



User is on Pega 7.1.6 and reported that Pega REST service was configured to send Content-Type in response header as application/json.

But Pega was sending Content-type as text/xml in the REST Service response header.


Error Messages



Not applicable


Steps to Reproduce

Execute the REST Service call.​ The Content-Type sent by Pega in the response header is text/xml where-as it is configured to send Content-Type as application/json.


Root Cause



A defect or configuration issue in the operating environment is identified as root cause.

The issue was found to be related to external system initiating the REST request.

Resolution



Changes in the external system helps in resolving the issue.

 

Published December 5, 2016 - 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