# snow\_record\_find Error

**URL:** <https://forum.ansible.com/t/snow-record-find-error/32388>\
**Category:** Ansible Developer\
**Created:** [March 5, 2020, 7:25am UTC](https://forum.ansible.com/t/snow-record-find-error/32388 "2020-03-05T07:25:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fitri\_Izuan\_Abdul\_Ro](https://avatars.discourse-cdn.com/v4/letter/f/d07c76/32.png) [@Fitri\_Izuan\_Abdul\_Ro](https://forum.ansible.com/u/Fitri_Izuan_Abdul_Ro)\
**Post date:** [March 5, 2020, 7:25am UTC](https://forum.ansible.com/t/snow-record-find-error/32388/1 "2020-03-05T07:25:19Z")

</div>

Hi,

I am newbie and this is my first time to write Ansible script in my project. Currently I am using snow\_record\_find module to search or retrieve record from SNOW however I got error mentioned "Failed to find record: Expected value of type `str` or `list`… ". Have done do some research about this error but don’t have any luck for now as the module seems still new and lacking of example and discussion.

Here is my yml file:

- hosts: localhost  
name: Test Connection SNOW  
gather\_facts: false

tasks:

- name: find snow records from job trigger test table  
snow\_record\_find:  
username: \*\*\*\*\*  
password: \*\*\*\*\*\*\*\*\*  
instance: dev\*\*\*\*\*  
table: u\_job\_trigger\_test  
max\_records: 1  
query:  
equals:  
u\_runbook\_name: “which\_one”  
return\_fields:
- sys\_id

Could anyone advise me on what is wrong?

Thanks.
