I have a request to the Google play games API Events.record that always retus with the error TIME_PERIOD_SHORT. Below is the Event Record Request Resource. Can you help me spot my error?
{
"timePeriods": [{
"timePeriod": {
"periodEndMillis": 1460691042546,
"periodStartMillis": 1460691039815,
"kind": "games#eventPeriodRange"
},
"updates": [{
"updateCount": 3,
"kind": "games#eventUpdateRequest",
"definitionId": "CgkIiLWAzPEJEAIQAg"
}],
"kind": "games#eventPeriodUpdate"
}],
"kind": "games#eventRecordRequest",
"requestId": 1460691043076,
"currentTimeMillis": 1460691043076
}
My response shows the following error even though in this example this batch period is 2731 millis.
{
"eventFailures": [],
"batchFailures": [{
"range": {
"periodEndMillis": "1460691042546",
"periodStartMillis": "1460691039815",
"kind": "games#eventPeriodRange"
},
"failureCause": "TIME_PERIOD_SHORT",
"kind": "games#eventBatchRecordFailure"
}],
"playerEvents": [],
"kind": "games#eventUpdateResponse"
}
}
