数据准备作业上的错误网关 运行 api

Bad gateway on dataprep job run api

之前 api 工作正常,但现在显示 502 错误网关。这是我的 api 电话:

def hit_dataprep_job(receipe_id):
    print(receipe_id)
    url = "https://api.clouddataprep.com/v4/jobGroups"
    body = json.dumps({"wrangledDataset": {"id": receipe_id}})
    headers = {"Content-Type": "application/json","Authorization": "Bearer "+str(key)}
    response = requests.post(url, data=body, headers=headers)
    print(response)
    print(response.json())
    if response.json()['reason'] == 'JobStarted':
        print('started job successfully')

输出: <响应[502]> {'code': 13, 'message': 'BAD_GATEWAY', 'details': [{'@type': 'type.googleapis.com/google.rpc.DebugInfo', 'stackEntries': [], 'detail': 'application'}]}

此事件现已解决。您可以订阅https://status.trifacta.com/以获取最新更新。

加入我们社区中与 Dataprep 用户的讨论和协作,https://community.trifacta.com/s/