最近の検索


最近の検索はありません

Error searching for fields type Checkbox



投稿日時:2025年2月19日

I can't search for a field of type checkbox by passing `false`; this throws an "Invalid value" error.

 

On endpoint: POST /api/v2/custom_objects/{custom_object_key}/records/search

 

Example Request:

{

    "filter":{ 

        "$and": [

            {"custom_object_fields.avaliable": {"$eq": false}}

        ]

    }

}

Response:

{

    "error": {

        "title": "Unsupported Condition",

        "message": “Invalid value”

    }

}


0

1

1件のコメント

image avatar

Greg Katechis

Zendesk Developer Advocacy

Hi Leonardo! Can you confirm that you have a custom object that has a key called “available”? I just want to check because it's similar to our example docs here and if you're looking for just a checkbox, you would need to call out the specific keys for all of those checkboxes. If you had more than one, you would need to use the “or” array for this. 

 

If you do have a checkbox with “available” as a key, let me know and we can investigate this further!

0


サインインしてコメントを残してください。

お探しのものが見つかりませんか?

新規投稿