# API Query filters not working on Data List's Attachment field

**URL:** <https://community.yeeflow.com/t/api-query-filters-not-working-on-data-lists-attachment-field/167>\
**Category:** Ask the community\
**Created:** [May 12, 2023, 7:18am UTC](https://community.yeeflow.com/t/api-query-filters-not-working-on-data-lists-attachment-field/167 "2023-05-12T07:18:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sam](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.yeeflow.com/sam/32/151_2.png) [@Sam](https://community.yeeflow.com/u/Sam)\
**Post date:** [May 12, 2023, 7:18am UTC](https://community.yeeflow.com/t/api-query-filters-not-working-on-data-lists-attachment-field/167/1 "2023-05-12T07:18:43Z")

</div>

On a Post API call [Query list items](https://developer.yeeflow.com/api/#tag/Lists/paths/~1lists~1%7BappID%7D~1%7BlistID%7D~1items~1query/post) , I try to get datalist info with API. The API body details below:

```auto
{
  "Filters": [
    {
      "Field": "Text2",
      "Value": "",
      "Type": 6,
    }
  ],
"PageIndex":1,"PageSize":1000
}

```

It work fine, but if I try to filter my attachment field (Text3), it always returns the below API response no matter what “Type” I use:

```auto
{
    "Data": null,
    "Status": 540014,
    "Message": "[\"Text3\"]",
    "TotalCount": null
}

```

Below is my data list field FYR:  
 ![image](https://canada1.discourse-cdn.com/flex032/uploads/yeeflow/original/1X/5ade3d2ec37f7c983256bd808809d5b25d82d41a.png)

Please let me know if I did anything incorrect with this API call.

Thank you.

---

<div class="post-metadata">

**Author:** ![frank](https://avatars.discourse-cdn.com/v4/letter/f/3d9bf3/32.png) [@frank](https://community.yeeflow.com/u/frank)\
**Post date:** [May 12, 2023, 7:46am UTC](https://community.yeeflow.com/t/api-query-filters-not-working-on-data-lists-attachment-field/167/2 "2023-05-12T07:46:11Z")

</div>

Hi Sam,

Currently Attachment doesn’t allow search. We will allow Null/Not Null filter for this kind of field later. Sorry for the inconvenience brings.

Regards,  
Frank
