# MODULE FAILURE - TypeError: Value of unknown type: \<class 'requests.models.Response'\>, \<Response \[204\]\>

**URL:** <https://forum.ansible.com/t/module-failure-typeerror-value-of-unknown-type-class-requests-models-response-response-204/32826>\
**Category:** Ansible Project\
**Created:** [April 30, 2020, 10:03am UTC](https://forum.ansible.com/t/module-failure-typeerror-value-of-unknown-type-class-requests-models-response-response-204/32826 "2020-04-30T10:03:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Parasuram\_A\_Havoji](https://avatars.discourse-cdn.com/v4/letter/p/9e8a1a/32.png) [@Parasuram\_A\_Havoji](https://forum.ansible.com/u/Parasuram_A_Havoji)\
**Post date:** [April 30, 2020, 10:03am UTC](https://forum.ansible.com/t/module-failure-typeerror-value-of-unknown-type-class-requests-models-response-response-204/32826/1 "2020-04-30T10:03:34Z")

</div>

Hello,

I am seeing module failure while using hashivault\_write module.

Ansible - Python - OpenSSH version on Ansible Node ;

` `root@35f3dfdc476f:playbooks # ansible --version ansible 2.9.2` `config file = /root/galorndon-infra/playbooks/ansible.cfg configured` `module search path = [‘/root/.ansible/plugins/modules’,` `‘/usr/share/ansible/plugins/modules’] ansible python module location =` `/py36env/lib64/python3.6/site-packages/ansible executable location =` `/py36env/bin/ansible python version = 3.6.8 (default, Aug 7 2019,` `08:02:28) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39.0.1)]` `root@35f3dfdc476f:playbooks # root@35f3dfdc476f:playbooks #` `root@35f3dfdc476f:playbooks # root@6193af66d482:playbooks # rpm -qa` `|grep -i openssh openssh-7.4p1-21.el7.x86\_64` `openssh-clients-7.4p1-21.el7.x86\_64 root@6193af66d482:playbooks #` `

Ansible - Python - OpenSSH version on Vault3 VM ;

` `[root@vault3 ~]# ansible --version ansible 2.8.4 config file =` `/etc/ansible/ansible.cfg configured module search path =` `[u’/root/.ansible/plugins/modules’,` `u’/usr/share/ansible/plugins/modules’] ansible python module location =` `/usr/lib/python2.7/site-packages/ansible executable location =` `/bin/ansible python version = 2.7.5 (default, Nov 27 2019, 09:57:45)` `[GCC 4.8.5 20150623 (Red Hat 4.8.5-39.0.1)] [root@vault3 ~]#` `[root@vault3 ~]# [root@vault3 ~]# rpm -qa |grep -i openssh` `openssh-7.4p1-21.el7.x86\_64 openssh-clients-7.4p1-21.el7.x86\_64` `openssh-server-7.4p1-21.el7.x86\_64 [root@vault3 ~]#` `

Playbook ;

`

[osvcstage:cpetestphx:security\_services]root@6193af66d482:playbooks # cat hashivault\_write.yml

---

<div class="post-metadata">

**Author:** ![Dick\_Visser](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Post date:** [April 30, 2020, 10:26am UTC](https://forum.ansible.com/t/module-failure-typeerror-value-of-unknown-type-class-requests-models-response-response-204/32826/2 "2020-04-30T10:26:56Z")

</div>

Hi

hashivault\_write isn’t part of ansible.  
Could it be that you are using a third party module?  
If so, please contact the authors of that for support.

---

<div class="post-metadata">

**Author:** ![Parasuram\_A\_Havoji](https://avatars.discourse-cdn.com/v4/letter/p/9e8a1a/32.png) [@Parasuram\_A\_Havoji](https://forum.ansible.com/u/Parasuram_A_Havoji)\
**Post date:** [May 4, 2020, 8:16am UTC](https://forum.ansible.com/t/module-failure-typeerror-value-of-unknown-type-class-requests-models-response-response-204/32826/3 "2020-05-04T08:16:55Z")

</div>

I upgraded ansible-modules-hashivault to 4.4.7 and it worked.

Reference -[https://github.com/TerryHowe/ansible-modules-hashivault/issues/238](https://github.com/TerryHowe/ansible-modules-hashivault/issues/238)
