As mentioned, the exception matching this specific case is [InvalidParameterApiException](https://github.com/Wikia/app/blob/dev/includes/wikia/api/ApiExceptions.php#L17).

Thanks for taking care of that.