Issue Fetching Team Data via API – Missing Users & Incorrect Metadata

Hi everyone,

I’ve been trying to fetch team data using the Monday API as documented here: web.developer.monday.com/api-reference/reference/teams. The issue I’m facing is that some teams return incomplete user data, while others don’t appear at all, even though they exist in the UI.

Here’s the query I’m using:

query {
  teams(ids: [123456, 789012]) {
    id
    name
    users {
      id
      name
      email
    }
  }
}

Problem:

  1. Some teams return without any users, even though they have assigned members.
  2. A few teams that exist in the UI return null instead of expected metadata.
  3. When querying all teams without ids, I get different results than when specifying team IDs.

Has anyone faced similar inconsistencies? Could this be a permissions issue, API caching delay, or something else? Any suggestions on debugging this further would be greatly appreciated!