We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

Alex1110's avatar
Alex1110
Explorer | Level 3
6 months ago

Empty response and has_more true at /team_log/get_events

We are using endpoint /team_log/get_events and with some queryes it returns empty response (randomly). For example
1. URL: https://api.dropboxapi.com/2/team_log/get_events
body: 

 

{
    "limit": 1000,
    "time": {
        "start_time": "2024-01-01T19:48:51Z"
    }
}

 

Response

 

{
    "events": [],
    "cursor": "AAB0zDiP0dP_Yxqh0JE4cmAp1bVGd3a....",
    "has_more": true
}

 

 

2. URL: https://api.dropboxapi.com/2/team_log/get_events
body:  (increase day)

 

{
    "limit": 1000,
    "time": {
        "start_time": "2024-01-24T20:49:51Z"
    }
}

 

Response

 

{
    "events": [{}], // 1000 events
    "cursor": "AAB0zDiP0dP_Yxqh0JE4cmAp1bVGd3a....",
    "has_more": true
}

 

 

The most interesting. 
This startDate - "2024-01-23T23:46:10Z" returns empty array and has_more: true
This startDate - "2024-01-23T23:46:11Z" returns array with 1000 elements and has_more: true