remove parameter check from API controller. Instead simply catch errors.