# getting error :: split\_subscribes

**URL:** <https://community.aliceblueonline.com/t/getting-error-split-subscribes/3687>\
**Category:** General\
**Created:** [May 29, 2023, 5:27am UTC](https://community.aliceblueonline.com/t/getting-error-split-subscribes/3687 "2023-05-29T05:27:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![AaushRaj](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@AaushRaj](https://community.aliceblueonline.com/u/AaushRaj)\
**Post date:** [May 29, 2023, 5:27am UTC](https://community.aliceblueonline.com/t/getting-error-split-subscribes/3687/1 "2023-05-29T05:27:58Z")

</div>

I’m getting error:: **local variable ‘split\_subscribes’ where it is not associated with a value**

This is due to websocket’s error:: **Error : Connection to remote host was lost.**

What’s the solution pls tell

---

<div class="post-metadata">

**Author:** ![arul\_antony](https://sea1.discourse-cdn.com/flex015/user_avatar/community.aliceblueonline.com/arul_antony/32/9_2.png) [@arul\_antony](https://community.aliceblueonline.com/u/arul_antony)\
**Post date:** [May 29, 2023, 6:00am UTC](https://community.aliceblueonline.com/t/getting-error-split-subscribes/3687/2 "2023-05-29T06:00:13Z")

</div>

Our Team is looking at the query raised by your side, once we received the response from the respective team will revert back to as soon as possible.

---

<div class="post-metadata">

**Author:** ![nandagopal](https://avatars.discourse-cdn.com/v4/letter/n/f14d63/32.png) [@nandagopal](https://community.aliceblueonline.com/u/nandagopal)\
**Post date:** [May 29, 2023, 6:49am UTC](https://community.aliceblueonline.com/t/getting-error-split-subscribes/3687/3 "2023-05-29T06:49:20Z")

</div>

Make sure, the required parameters and functions are passed correctly as shown in API documentation and Pya3 WebSocket.

kindly refer the below link for WebSocket documentation.  
[https://v2api.aliceblueonline.com/websocket](https://v2api.aliceblueonline.com/websocket)

Kindly refer the below link for the pya3 WebSocket connection.

> **[GitHub - jerokpradeep/pya3](https://github.com/jerokpradeep/pya3)**
>
> Contribute to jerokpradeep/pya3 development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![AaushRaj](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@AaushRaj](https://community.aliceblueonline.com/u/AaushRaj)\
**Post date:** [September 6, 2023, 6:20am UTC](https://community.aliceblueonline.com/t/getting-error-split-subscribes/3687/4 "2023-09-06T06:20:38Z")

</div>

> [@nandagopal](#):
>
> Make sure, the required parameters and functions are passed correctly as shown in API documentation and Pya3 WebSocket.

I have checked this before 100 times ! As I said this error is random, it works sometimes and sometimes it gives error! And I’ve uploaded the code above as well so please check it.
