REST connector reads payload as binary data instead of text
Troubleshoot problems that occur when the REST connector reads the response as binary content instead of text content.
The REST connector reads the response improperly.
The response is missing or has an incorrect Content-Type header.
Confirm whether the Content-Type header is missing or blank.
Check the Content-Type your application receives is valid for text content.Pega Platform reads the following Content-Type header values as text. If the Content-Type header is not a recognized text content type, Pega Platform reads the data as binary content.
If you did not receive a content type from the endpoint or if the content type is incorrect, you can decode the Base64 content and revert it to text.