remove InvalidApiCallError - it's no longer thrown anywhere