Import InvalidRequestError to pacify pylint