# Unable to parse int value with\_items in ansible

**URL:** <https://forum.ansible.com/t/unable-to-parse-int-value-with-items-in-ansible/26976>\
**Category:** Ansible Project\
**Created:** [March 13, 2018, 5:37am UTC](https://forum.ansible.com/t/unable-to-parse-int-value-with-items-in-ansible/26976 "2018-03-13T05:37:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Parimi\_Srikant](https://avatars.discourse-cdn.com/v4/letter/p/3bc359/32.png) [@Parimi\_Srikant](https://forum.ansible.com/u/Parimi_Srikant)\
**Post date:** [March 13, 2018, 5:37am UTC](https://forum.ansible.com/t/unable-to-parse-int-value-with-items-in-ansible/26976/1 "2018-03-13T05:37:14Z")

</div>

Hi

I have a playbook which enters a naptr record on infoblox and I am using uri module to do that everything is working but when I am trying to parse different vales to “order”: “{{ item.count\_order }}” I am having error that

“failed”: true,  
“msg”: “‘count\_order’ is undefined”

And I am using

with\_items:

- “{{naptr\_record\_details[:count\_order|int]}}”

can some one help me on this …!!!

Thank you so much in advance.

Regards,  
Srikanth P
