API Returning Blank Activity Logs on specifc board

I’ve been trying to get the activity logs for a specifc board, but it always returns empty, but I have access to this board and I can see that there are logs on at least 1 pulse. The result is the same on Postman and on the API Playground. The same query on other board returns results as intended, so it seems like a problem only with this board:

Activity logs on April 01:
image

Query on this board with filter:

query kpn {
  boards (limit: 1,ids: XXXX) {
    activity_logs (limit: 9999,from: "2022-04-01T00:00:00-03:00", to: "2022-04-18T23:59:59-03:00", column_ids: "time_tracking") {
      id
      event
      data
    }
  }
}

Result:

{"data":{"boards":[{"activity_logs":[]}]},"account_id":ZZZZZ}

Same query, different board working fine:

query kpn{
  boards (limit: 1, ids: YYYY) {
    activity_logs (limit: 9999,from: "2022-04-01T00:00:00-03:00", to: "2022-04-02T23:59:59-03:00", column_ids: "time_tracking") {
      id
      event
      data
    }
  }
}

Result print:
image

Can you help me identify what could be wrong with this specific board?

@caiocsl

First thing I would try would be to remove the selection criteria and see if that returns anything. Also, confirm that your time tracking column ID is correct.

1 Like

yep, you’re completely right! on this board the column id is ‘time_tracking9’.

Thank you very much for your help, now I know how to move on with my code.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.