title: Returning http 200 OK with error within response body
body: <p>I'm wondering if it is correct to return <code>HTTP 200 OK</code> when an error occurred on the server side (the error details would be contained inside the response body).</p>
  
  <p>Example:</p>
  
  <ol>
  <li>We're sending <code>HTTP GET</code></li>
  <li>Something unexpected happened on the server side.</li>
  <li>Server returns <code>HTTP 200 OK</code> status code with error inside a response (e.g. <code>{"status":"some error occurred"}</code>)</li>
  </ol>
  
  <p>Is this the correct behavior or not? Should we change the status code to something else than 200? </p>