如何使“ load_ids_of_invalid_requests”参数起作用?

时间:2019-06-03 12:53:30

标签: facebook-graph-api

根据Marketing API documentation,当请求check_batch_request_status并指定load_ids_of_invalid_requests参数时,响应应包含invalid_item_id。但这在我的情况下不起作用。这是我的错误还是某些配置问题?

请求

GET https://graph.facebook.com/v3.2/{product-catalog-id}/check_batch_request_status?access_token={token}&handle={handle}&load_ids_of_invalid_requests=true

响应

{
    "data": [
        {
            "handle": {handle},
            "status": "finished",
            "errors_total_count": 6,
            "errors": 
            [
                {
                    "line": 0,
                    "id": "t1-bla",
                    "message": "Invalid value: ..."
                }, 
                {
                    "line": 3,
                    "id": "t2",
                    "message": "Invalid value: ..."
                }, 
                {
                    "line": 5,
                    "id": "TESTL1",
                    "message": "Invalid value: ..."
                }, 
                {
                    "line": 1,
                    "id": "t1-gronn",
                    "message": "Invalid value: ..."
                }, 
                {
                    "line": 4,
                    "id": "t3",
                    "message": "Invalid value: ..."
                }
            ],
            "warnings": []
        }
    ]
}

0 个答案:

没有答案