# Maximum sessions reached - Cisco XML apis though ansible

**URL:** <https://forum.ansible.com/t/maximum-sessions-reached-cisco-xml-apis-though-ansible/34411>\
**Category:** Ansible Project\
**Created:** [January 7, 2021, 6:40pm UTC](https://forum.ansible.com/t/maximum-sessions-reached-cisco-xml-apis-though-ansible/34411 "2021-01-07T18:40:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ramesh\_AR](https://avatars.discourse-cdn.com/v4/letter/r/3e96dc/32.png) [@Ramesh\_AR](https://forum.ansible.com/u/Ramesh_AR)\
**Post date:** [January 7, 2021, 6:40pm UTC](https://forum.ansible.com/t/maximum-sessions-reached-cisco-xml-apis-though-ansible/34411/1 "2021-01-07T18:40:21Z")

</div>

Folks,

How to eliminate “Maximum sessions reached” error when I execute bulk nodes in ansible playbook ( using cisco XML APIs to retrieve outputs)

Maximum I can get output for 7 nodes only , remaining nodes are getting max.session reached.

**Error**

ok: [host1 → localhost]  
fatal: [host1 → localhost]: FAILED! =\> {  
“aaaLogin”: {  
“attributes”: {  
“cookie”: “”,  
“errorCode”: “554”,  
“errorDescr”: “Maximum sessions reached”,  
“invocationResult”: “unidentified-fail”,  
“response”: “yes”  
}  
},  
“changed”: false,  
“error\_code”: “554”,  
“error\_text”: “Maximum sessions reached”,  
“output”: “\<aaaLogin cookie="" response="yes" errorCode="554" invocationResult="unidentified-fail" errorDescr="Maximum sessions reached"\> \n”

Thank you,  
Ramesh
