title: Returning request payload in case of error
body: <p>Is returning request body along with error code(response) in case of invalid payload a standard practice ?</p>
  
  <p><strong>Request</strong>: </p>
  
  <pre><code>{ "payload" : " + request" }
  </code></pre>
  
  <p>in the above json "+" is not accepted character in my API, and server is returning an error message representing that request payload consists of invalid characters.</p>
  
  <p><strong>Response</strong> : </p>
  
  <pre><code>{"payload": " + request", "error":"Invalid character '+' in request payload"}
  </code></pre>
  
  <p>Above is the response being returned.</p>
  
  <p>Note: Agreed it is inefficient to send request payload to and from, which is originated from the client.</p>