Discard
GuidesAPI ReferenceChangelogDiscussions
GuidesAPI ReferenceChangelogDiscussionsLog In

Discussions

Ask a Question
Back to All

Fetching Statistics report returns "HTTP 504 Error"

Hi,

When we try to fetch the statistics report by using the following request -

curl -i -X POST --data '{"advertiserIds":"XXX","endDate":"2022-06-20","timezone":"Europe/Paris","format":"Json","currency":"CHF","metrics":["Clicks","Displays","AdvertiserCost","SalesAllClientAttribution","RevenueGeneratedAllClientAttribution","SalesClientAttribution","SalesAllPc30d","SalesAllPv24h","SalesAllPc30dPv24h","RevenueGeneratedAllPv24h","RevenueGeneratedAllPc30dPv24h","RevenueGeneratedAllPc30d","ExposedUsers","OverallCompetitionWin","AverageCartAllClientAttribution","ECosAllClientAttribution","ECosAllPv24h","ECosAllPc30dPv24h","CostPerOrderAllClientAttribution","CostPerOrderAllPv24h","CostPerOrderAllPc30dPv24h","AdvertiserAllValue","Audience","Reach","ClickThroughRate","ConversionRateAllClientAttribution","Cpc","Ecpm","RoasAllClientAttribution","CostOfAdvertiserValueAll"],"startDate":"2022-06-19","dimensions":["AdsetID","CategoryId","Category","Day"]}' -H 'Authorization: Bearer XXXX' -H 'Content-Type: application/json' -H 'Accept: application/octet-stream' -A 'Jersey/2.31' 'https://api.criteo.com/2021-10/statistics/report'

For any customer, it fails with gateway timeout error with following message

{
    "warnings": [],
    "errors": [
        {
            "traceIdentifier": "04db88ab11cd11e4",
            "type": "availability",
            "code": "service-unavailable",
            "instance": "/2021-10/statistics/report",
            "title": "The requested service is currently unavailable",
            "detail": null,
            "source": null
        }
    ]
}

Can anyone please take a look at it?