Should return 500 if something else went wrong with the REST call