Skip to main content

Not getting files using files-queries

  • January 3, 2022
  • 1 reply
  • 1263 views

Hey
I am trying to get file details for the Monday account using https://api.developer.monday.com/docs/files-queries but I am not getting any files nor I am getting any error I am trying to query files using items with the query as

query {
  boards (ids:<id>) {
    items (limit:100) {
      assets {
        id
        url
        name
      }
    }
  }
}

but in return I am getting empty lists for each item but we have files uploaded for some items (that I can see in the app) still not getting it from the API call.

Thank you.

1 reply

Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • January 4, 2022

Hello @ayush and welcome to the community 💪

Are these files private Google Drive, Onedrive, Dropbox or Box files?

If that is the case, you will not see them via API.

Hope this helps!

Cheers,
-Matias