我遇到了错误: "Sorry, the report cannot be loaded successfully. Please check if your job status is completed instead of failed or running before fetching the data."
在某些日子,没关系,没有错误 . 但在其他日子里,我收到了错误 .
我还没有在facebook / google搜索中发现这个错误 . 那么,问题是什么?期待您的反馈 . 谢谢!
My python code is:
async_job = my_account.get_insights(params=params, async=True)
async_job.remote_read()
while async_job[AdReportRun.Field.async_percent_completion] < 100:
time.sleep(1)
async_job.remote_read()
time.sleep(1)
report = async_job.get_result()
The response that I get is:
Message: Call was not successful
Method: GET
Path: https://graph.facebook.com/v3.0/xxxxxxxxxxxxxx/insights
Params: {}
Status: 400
Response:
{
"error": {
"code": 2601,
"is_transient": true,
"error_subcode": 1815107,
"error_user_msg": "Sorry, the report cannot be loaded successfully. Please check if your job status is completed instead of failed or running before fetching the data.",
"error_user_title": "Loading Async Ads Report Failed",
"message": "Error accessing adreport job.",
"type": "OAuthException",
"fbtrace_id": "xxxxxxxx"
}
}