Status Code is hard coded as 200 in the response. Make the changes to reflect the right status code in response.