We started noticing the Report.Get endpoint has stopped returning data as of 3 days ago with a: no_warehouse_data error message. The interesting part is when looking at the Adobe Analytics DataWarehouse tab in the UI, if you were to duplicate the report and have it emailed to you, it works and returns the data requested.
Making the following request will work and give back a valid report id:
{ reportSuiteID: '[redacted]',
dateFrom: '2019-09-16',
dateTo: '2019-09-17',
dateGranularity: 'day',
metrics:
[ { id: 'event5' },
{ id: 'event7' },
{ id: 'event8' },
{ id: 'revenue' },
{ id: 'uniquevisitors' },
{ id: 'visits' },
{ id: 'orders' } ],
elements:
[ { id: 'mobiledevicetype', everythingElse: true },
{ id: 'trackingcode', everythingElse: true },
{ id: 'visitnumber', everythingElse: true },
{ id: 'trackingcode',
classification: 'Tracking Code Classification 1',
everythingElse: true },
{ id: 'trackingcode',
classification: 'Tracking Code Classification 2',
everythingElse: true } ],
locale: 'en_US',
currentData: true,
source: 'warehouse',
elementDataEncoding: 'utf8' }
But when querying the data, we getting the following message:
{
"error": "no_warehouse_data",
"error_description": "Warehouse request returned no data for time period",
"error_uri": null
}
The interesting part here is calling the Request.Get about 5 times makes the report work and I am able to retrieve data, but refreshing again, and the report fails.