send back specific error with response code - fixed bug 2