Skip to main content

Retrieving assets that are not blank/not null

  • November 16, 2022
  • 3 replies
  • 977 views

I am trying to retrieve only assets that are not blank and not null via GraphQL on Monday.com. Any idea how to solve this issue?

3 replies

  • November 17, 2022

Hi @mbakhishov,

This looks to be a bug in our API!

Would you please share with us your account details (such as Board ID, Account ID) in an email to appsupport@monday.com so we can investigate?

Be sure to also include the query you’re using to call our API.

Thanks!


  • Author
  • New Participant
  • November 17, 2022

Hi @alessandra.

I am trying to return Only assets that has an ID or Public URL.

Here is the query I am using:

{
boards(ids: 12345678910) {
items(limit: 10) {
assets {
id
name
public_url
}
}
}
}

and I am getting this as a result:

{
“data”: {
“boards”: [
{
“items”: [
{
“assets”:
},
{
“assets”:
},
{
“assets”:
},
{
“assets”:
},
{
“assets”:
},
{
“assets”: [
{
“id”: “123456789”,
“name”: “File Name”,
“public_url”: “Public URL”
}
]
},
{
“assets”:
},
{
“assets”:
},
{
“assets”:
},
{
“assets”:
}
]
}
]
},
“account_id”: 1234567
}


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • November 20, 2022

Hello @mbakhishov!

As my colleague mentioned, for this to be taken care of by our technical support team, we have to ask you to please share with our team your account details (such as Board ID, Account ID) in an email to appsupport@monday.com, including also the query you are using and the response you are getting.

In this way, our team will be able to open a report if needed and follow this with you.

Cheers,
Matias