# Python SDK enrol error

**URL:** <https://openziti.discourse.group/t/python-sdk-enrol-error/612>\
**Category:** SDK Questions\
**Created:** [June 24, 2022, 9:48pm UTC](https://openziti.discourse.group/t/python-sdk-enrol-error/612 "2022-06-24T21:48:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![markamind](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/markamind/32/157_2.png) [@markamind](https://openziti.discourse.group/u/markamind)\
**Post date:** [June 24, 2022, 9:48pm UTC](https://openziti.discourse.group/t/python-sdk-enrol-error/612/1 "2022-06-24T21:48:27Z")

</div>

I created an identity in my local ZAC… and received the following error when I tried to enrol it using the following command

…  
python -m openziti enroll --jwt=/home/opc/python\_client.jwt --identity=/home/opc/python\_client.json

TypeError: do\_enroll() takes 0 positional arguments but 1 was given

Any tips?

---

<div class="post-metadata">

**Author:** ![markamind](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/markamind/32/157_2.png) [@markamind](https://openziti.discourse.group/u/markamind)\
**Post date:** [June 24, 2022, 9:55pm UTC](https://openziti.discourse.group/t/python-sdk-enrol-error/612/2 "2022-06-24T21:55:18Z")

</div>

all ok… I upgraded the version… working ok now 🙂

---

<div class="post-metadata">

**Author:** ![qrkourier](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/qrkourier/32/52_2.png) [@qrkourier](https://openziti.discourse.group/u/qrkourier)\
**Post date:** [June 26, 2022, 1:24am UTC](https://openziti.discourse.group/t/python-sdk-enrol-error/612/3 "2022-06-26T01:24:06Z")

</div>

You’ve got it! Upgrade for the win.
