Lately I have noticed that this script throws an error: raise APIError(code, info, **result["error"])