500 is internal server error, I don't think this applies here. Maybe 400, Bad Request? http://www.restapitutorial.com/httpstatuscodes.html