# EC097 - IP Restriction Error While Placing Orders via API

**URL:** <https://community.aliceblueonline.com/t/ec097-ip-restriction-error-while-placing-orders-via-api/14384>\
**Category:** API\
**Created:** [June 15, 2026, 6:30am UTC](https://community.aliceblueonline.com/t/ec097-ip-restriction-error-while-placing-orders-via-api/14384 "2026-06-15T06:30:28Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![pratish](https://avatars.discourse-cdn.com/v4/letter/p/5f9b8f/32.png) [@pratish](https://community.aliceblueonline.com/u/pratish)\
**Post date:** [June 15, 2026, 6:30am UTC](https://community.aliceblueonline.com/t/ec097-ip-restriction-error-while-placing-orders-via-api/14384/1 "2026-06-15T06:30:28Z")

</div>

Dear Alice Blue Support Team,

I am facing an issue while placing orders through the Alice Blue API.

Error Response:

{  
“status”: “EC097”,  
“message”: “IP restriction: You are not allowed to place the order”,  
“result”: null  
}

Troubleshooting already performed:

- Successfully authenticated and generated session token.
- Profile API is working correctly.
- Other authenticated API calls are working.
- Only order placement APIs are failing with EC097.
- Confirmed that the IP is configured in the Alice Blue Developer Portal.
- Generated a fresh session token after updating the IP whitelist.

Since authentication APIs are working and only order placement is being rejected, could you please verify whether the IP whitelist has been activated correctly for my application and account on the trading/order management backend?

Please let me know if you require any additional logs, request IDs, or screenshots.

Regards,  
Pratish

---

<div class="post-metadata">

**Author:** ![community\_admin](https://sea1.discourse-cdn.com/flex015/user_avatar/community.aliceblueonline.com/community_admin/32/5185_2.png) [@community\_admin](https://community.aliceblueonline.com/u/community_admin)\
**Post date:** [June 15, 2026, 7:54am UTC](https://community.aliceblueonline.com/t/ec097-ip-restriction-error-while-placing-orders-via-api/14384/2 "2026-06-15T07:54:19Z")

</div>

Hi @pratish

We have forwarded your query to the concerned team, and they are working on it. We will get it resolved at the earliest.

---

<div class="post-metadata">

**Author:** ![pratish](https://avatars.discourse-cdn.com/v4/letter/p/5f9b8f/32.png) [@pratish](https://community.aliceblueonline.com/u/pratish)\
**Post date:** [June 17, 2026, 7:37am UTC](https://community.aliceblueonline.com/t/ec097-ip-restriction-error-while-placing-orders-via-api/14384/3 "2026-06-17T07:37:30Z")

</div>

Please take this on high priority. We can’t be able to place any orders over here.

---

<div class="post-metadata">

**Author:** ![community\_admin](https://sea1.discourse-cdn.com/flex015/user_avatar/community.aliceblueonline.com/community_admin/32/5185_2.png) [@community\_admin](https://community.aliceblueonline.com/u/community_admin)\
**Post date:** [June 22, 2026, 6:25am UTC](https://community.aliceblueonline.com/t/ec097-ip-restriction-error-while-placing-orders-via-api/14384/4 "2026-06-22T06:25:31Z")

</div>

Hi @pratish  
Request you to please [raise a support ticket](https://support.aliceblueonline.com/create-ticket) with your client details and share the **ticket number with us here**. Once we receive the ticket reference, we’ll connect with the concerned team for a detailed review.

---

<div class="post-metadata">

**Author:** ![pratish](https://avatars.discourse-cdn.com/v4/letter/p/5f9b8f/32.png) [@pratish](https://community.aliceblueonline.com/u/pratish)\
**Post date:** [June 23, 2026, 11:36am UTC](https://community.aliceblueonline.com/t/ec097-ip-restriction-error-while-placing-orders-via-api/14384/5 "2026-06-23T11:36:48Z")

</div>

Hi Team,

I have raised the ticket here is the ticket number **#2053575**.

---

<div class="post-metadata">

**Author:** ![community\_admin](https://sea1.discourse-cdn.com/flex015/user_avatar/community.aliceblueonline.com/community_admin/32/5185_2.png) [@community\_admin](https://community.aliceblueonline.com/u/community_admin)\
**Post date:** [June 23, 2026, 1:13pm UTC](https://community.aliceblueonline.com/t/ec097-ip-restriction-error-while-placing-orders-via-api/14384/7 "2026-06-23T13:13:33Z")

</div>

Hi @pratish

We have forwarded your query to the concerned team, and they are working on it. We will get it resolved at the earliest.

---

<div class="post-metadata">

**Author:** ![Basil\_Paul](https://sea1.discourse-cdn.com/flex015/user_avatar/community.aliceblueonline.com/basil_paul/32/77_2.png) [@Basil\_Paul](https://community.aliceblueonline.com/u/Basil_Paul)\
**Post date:** [June 30, 2026, 11:57am UTC](https://community.aliceblueonline.com/t/ec097-ip-restriction-error-while-placing-orders-via-api/14384/8 "2026-06-30T11:57:53Z")

</div>

Hi @pratish

We have responded to the ticket you raised. Kindly check our response and follow the instructions provided.

If you are still facing any issues, please reply to the same ticket. We will review it and get back to you.

Thanks and Regards,  
AliceBlue Team

---

<div class="post-metadata">

**Author:** ![imabhishektomar](https://sea1.discourse-cdn.com/flex015/user_avatar/community.aliceblueonline.com/imabhishektomar/32/8772_2.png) [@imabhishektomar](https://community.aliceblueonline.com/u/imabhishektomar)\
**Post date:** [July 13, 2026, 7:12pm UTC](https://community.aliceblueonline.com/t/ec097-ip-restriction-error-while-placing-orders-via-api/14384/9 "2026-07-13T19:12:35Z")

</div>

Did you find solution for this, i am also having same issue:  
status=REJECTED broker\_id=None msg={‘stat’: ‘Not\_Ok’, ‘emsg’: ‘IP restriction: You are not allowed to place the order’}

---

<div class="post-metadata">

**Author:** ![Karthi\_K](https://sea1.discourse-cdn.com/flex015/user_avatar/community.aliceblueonline.com/karthi_k/32/8878_2.png) [@Karthi\_K](https://community.aliceblueonline.com/u/Karthi_K)\
**Post date:** [July 24, 2026, 1:01pm UTC](https://community.aliceblueonline.com/t/ec097-ip-restriction-error-while-placing-orders-via-api/14384/10 "2026-07-24T13:01:43Z")

</div>

did you guys find a soluction. Me too facing the same issue. This guys doesnt have proper documentation about the resolution for the error IP restriction.

I have created a app and attached a static IP , i am running the application from local host using the proxy ( same static address) but getting error - EC097: IP restriction: You are not allowed to place the order

---

<div class="post-metadata">

**Author:** ![Basil\_Paul](https://sea1.discourse-cdn.com/flex015/user_avatar/community.aliceblueonline.com/basil_paul/32/77_2.png) [@Basil\_Paul](https://community.aliceblueonline.com/u/Basil_Paul)\
**Post date:** [July 27, 2026, 10:07am UTC](https://community.aliceblueonline.com/t/ec097-ip-restriction-error-while-placing-orders-via-api/14384/11 "2026-07-27T10:07:26Z")

</div>

Dear Clients,

Greetings of the day!

As part of recent security enhancements, IP restriction has been enabled for the A3 Order Placement API.

Please ensure that the API requests are being sent from the same static IP address that has been configured in the A3 Portal. If the requests are coming from a different IP, the API will return an IP restriction error.

Additionally, if you update or change the static IP in the A3 Portal, you must generate a new session ID after the update for the changes to take effect properly.

Please verify the following:

- The request is originating from the configured static IP.
- A new session ID has been generated after updating the IP in the portal.

Kindly follow the above instructions and test again. If you continue to face any issues, Request you to please [raise a support ticket](https://support.aliceblueonline.com/create-ticket) with your client details and share the **ticket number with us here**. Once we receive the ticket reference, we’ll connect with the concerned team for a detailed review.

> **[Aliceblue - Developer Portal](https://a3.aliceblueonline.com/)**

Thanks and Regards,

Alice Blue Team
