Postman client not able to parse string response from JAX-RS response builder
<p>I am developing a jersey based REST application wherein i am using the response builder as below :</p>

<pre><code>return Response.status(Response.Status.UNAUTHORIZED).entity(e.getMessage()).build();
</code></pre>

<p>When executing this API in postman &amp; when  it generates this error , i see something like this :</p>

<p><a href="https://i.stack.imgur.com/zCjNg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zCjNg.png" alt="enter image description here"></a></p>

<p>this comes only in the Pretty formatting mode. Is it a problem with Postman client or JAX-RS?</p>

<p>The Request header &amp; the raw mode is shown below :</p>

<p><a href="https://i.stack.imgur.com/KcSTT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KcSTT.png" alt="enter image description here"></a></p>

<p>The "N" here is the first character of the message string. The Raw &amp; Preview mode show the error message just fine.</p>