Skip to main content

URGENT | Some boards show up on the UI, but are not in the response from API

  • September 8, 2022
  • 10 replies
  • 978 views

Hi, everyone!
So, I was querying the boards from our work account and I noticed that some boards are not showing up through the API although they exist and can be accessed through the UI. Yes, I am using pagination.
I already specified the IDs from these boards in the query, but even like that the boards won’t show up. It’s like they don’t exist. Anyone know why this could be happening? Those boards where created by duplicating existing boards manually, could this have some impact?

10 replies

kolaai
Forum|alt.badge.img
  • monday.com Partner
  • September 8, 2022

Include the limit argument in the query. The value of the limit can be equal to or greater than the number of boards you are trying to query


  • Author
  • Participating Frequently
  • September 8, 2022

I am already using the limit parameter. This is my query:
image


kolaai
Forum|alt.badge.img
  • monday.com Partner
  • September 8, 2022

What about when you remove the page parameter?


  • Author
  • Participating Frequently
  • September 8, 2022

It also doesn’t work, I already tried just using this for example, but it doesn’t work with those specific boards:

boards (ids: 12345678) {
....
}

kolaai
Forum|alt.badge.img
  • monday.com Partner
  • September 8, 2022

Have you tried

boards (ids: [123, 456], limit: 1000) {
....
}

kolaai
Forum|alt.badge.img
  • monday.com Partner
  • September 8, 2022

This by default will only return up to 25 boards


  • Author
  • Participating Frequently
  • September 8, 2022

Tried right now, same problem goes on


  • Author
  • Participating Frequently
  • September 8, 2022

I know, but in this case i was just querying one ID


kolaai
Forum|alt.badge.img
  • monday.com Partner
  • September 8, 2022

Might be a bug then. Contact app support at appsupport@monday.com


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • October 30, 2022

Hello everyone!

Using the API with a user’s key will give you access to whatever that user has access to.

Admins not necessarily have access to everything in the account since as you mention, there are private boards for example which the admin needs to be invited to see.

We recommend creating a “dummy user” with a dummy email and give that user access to everything if you want to use that user’s API key to retrieve any information in the account.

I hope that helps!

Cheers,
Matias