<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[AG8001 error, can&#x27;t place order. (Can login to API, but just can&#x27;t place order)]]></title><description><![CDATA[<p dir="auto">When I try to place market order, I get this error:</p>
<p dir="auto">'{"success":false,"message":"Invalid Token","errorCode":"AG8001","data":""}'</p>
<p dir="auto">(Also, we don't need the price in market order, right?)</p>
]]></description><link>https://smartapi.angelone.in/smartapi/forum/topic/1397/ag8001-error-can-t-place-order-can-login-to-api-but-just-can-t-place-order</link><generator>RSS for Node</generator><lastBuildDate>Fri, 23 Oct 2026 23:52:29 GMT</lastBuildDate><atom:link href="https://smartapi.angelone.in/smartapi/forum/topic/1397.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 22 Sep 2021 05:34:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to AG8001 error, can&#x27;t place order. (Can login to API, but just can&#x27;t place order) on Wed, 22 Sep 2021 07:25:52 GMT]]></title><description><![CDATA[<p dir="auto">Hi @adiknowsall :+1:</p>
]]></description><link>https://smartapi.angelone.in/smartapi/forum/post/8193</link><guid isPermaLink="true">https://smartapi.angelone.in/smartapi/forum/post/8193</guid><dc:creator><![CDATA[admin]]></dc:creator><pubDate>Wed, 22 Sep 2021 07:25:52 GMT</pubDate></item><item><title><![CDATA[Reply to AG8001 error, can&#x27;t place order. (Can login to API, but just can&#x27;t place order) on Wed, 22 Sep 2021 07:24:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://smartapi.angelone.in/smartapi/forum/uid/1">@admin</a> Thanks for your response. It works now! It was a small error from my side.</p>
]]></description><link>https://smartapi.angelone.in/smartapi/forum/post/8192</link><guid isPermaLink="true">https://smartapi.angelone.in/smartapi/forum/post/8192</guid><dc:creator><![CDATA[francesca66z9]]></dc:creator><pubDate>Wed, 22 Sep 2021 07:24:34 GMT</pubDate></item><item><title><![CDATA[Reply to AG8001 error, can&#x27;t place order. (Can login to API, but just can&#x27;t place order) on Wed, 22 Sep 2021 06:58:12 GMT]]></title><description><![CDATA[<p dir="auto">HI @adiknowsall said in <a href="/post/8188">AG8001 error, can't place order. (Can login to API, but just can't place order)</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://smartapi.angelone.in/smartapi/forum/uid/1">@admin</a> <a href="https://smartapi.angelbroking.com/topic/411/working-sample-code-to-place-orders-python" target="_blank" rel="noopener noreferrer nofollow ugc">https://smartapi.angelbroking.com/topic/411/working-sample-code-to-place-orders-python</a><br />
I used this code exactly, and it gives this error:<br />
orderResponse= self._postRequest("api.order.place", params)['data']['orderid']<br />
TypeError: 'NoneType' object is not subscriptable<br />
And when I try to manually send a request to the "placeOrder" route using POST method, the error I get is AG8001 error, INVALID TOKEN.</p>
</blockquote>
<p dir="auto">Its seems to be working fine from our end kindly go through the req response and the order id generated from our code.</p>
]]></description><link>https://smartapi.angelone.in/smartapi/forum/post/8190</link><guid isPermaLink="true">https://smartapi.angelone.in/smartapi/forum/post/8190</guid><dc:creator><![CDATA[admin]]></dc:creator><pubDate>Wed, 22 Sep 2021 06:58:12 GMT</pubDate></item><item><title><![CDATA[Reply to AG8001 error, can&#x27;t place order. (Can login to API, but just can&#x27;t place order) on Wed, 22 Sep 2021 06:57:57 GMT]]></title><description><![CDATA[<p dir="auto">HI @adiknowsall</p>
<p dir="auto"><img src="/assets/uploads/files/1632293806481-05c87a12-0613-411f-9f76-6b0a0e32fc00-image.png" alt="05c87a12-0613-411f-9f76-6b0a0e32fc00-image.png" class=" img-responsive img-markdown" width="1905" height="547" /> ![alt text](![image url]([image url](link url)))</p>
]]></description><link>https://smartapi.angelone.in/smartapi/forum/post/8189</link><guid isPermaLink="true">https://smartapi.angelone.in/smartapi/forum/post/8189</guid><dc:creator><![CDATA[admin]]></dc:creator><pubDate>Wed, 22 Sep 2021 06:57:57 GMT</pubDate></item><item><title><![CDATA[Reply to AG8001 error, can&#x27;t place order. (Can login to API, but just can&#x27;t place order) on Wed, 22 Sep 2021 06:31:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://smartapi.angelone.in/smartapi/forum/uid/1">@admin</a> <a href="https://smartapi.angelbroking.com/topic/411/working-sample-code-to-place-orders-python" target="_blank" rel="noopener noreferrer nofollow ugc">https://smartapi.angelbroking.com/topic/411/working-sample-code-to-place-orders-python</a><br />
I used this code exactly, and it gives this error:<br />
orderResponse= self._postRequest("api.order.place", params)['data']['orderid']<br />
TypeError: 'NoneType' object is not subscriptable</p>
<p dir="auto">And when I try to manually send a request to the "placeOrder" route using POST method, the error I get is AG8001 error, INVALID TOKEN.</p>
]]></description><link>https://smartapi.angelone.in/smartapi/forum/post/8188</link><guid isPermaLink="true">https://smartapi.angelone.in/smartapi/forum/post/8188</guid><dc:creator><![CDATA[francesca66z9]]></dc:creator><pubDate>Wed, 22 Sep 2021 06:31:23 GMT</pubDate></item><item><title><![CDATA[Reply to AG8001 error, can&#x27;t place order. (Can login to API, but just can&#x27;t place order) on Wed, 22 Sep 2021 06:11:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://smartapi.angelone.in/smartapi/forum/uid/1">@admin</a> said in <a href="/post/8185">AG8001 error, can't place order. (Can login to API, but just can't place order)</a>:</p>
<blockquote>
<p dir="auto">e regenerate your to</p>
</blockquote>
<p dir="auto">As soon as I generate a new session, I am placing order. Still no success.</p>
]]></description><link>https://smartapi.angelone.in/smartapi/forum/post/8187</link><guid isPermaLink="true">https://smartapi.angelone.in/smartapi/forum/post/8187</guid><dc:creator><![CDATA[francesca66z9]]></dc:creator><pubDate>Wed, 22 Sep 2021 06:11:21 GMT</pubDate></item><item><title><![CDATA[Reply to AG8001 error, can&#x27;t place order. (Can login to API, but just can&#x27;t place order) on Wed, 22 Sep 2021 06:03:09 GMT]]></title><description><![CDATA[<p dir="auto">HI @adiknowsall said in <a href="/post/8181">AG8001 error, can't place order. (Can login to API, but just can't place order)</a>:</p>
<blockquote>
<p dir="auto">When I try to place market order, I get this error:<br />
'{"success":false,"message":"Invalid Token","errorCode":"AG8001","data":""}'<br />
(Also, we don't need the price in market order, right?)<br />
Please regenerate your tokens.</p>
</blockquote>
]]></description><link>https://smartapi.angelone.in/smartapi/forum/post/8185</link><guid isPermaLink="true">https://smartapi.angelone.in/smartapi/forum/post/8185</guid><dc:creator><![CDATA[admin]]></dc:creator><pubDate>Wed, 22 Sep 2021 06:03:09 GMT</pubDate></item><item><title><![CDATA[Reply to AG8001 error, can&#x27;t place order. (Can login to API, but just can&#x27;t place order) on Wed, 22 Sep 2021 05:44:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://smartapi.angelone.in/smartapi/forum/uid/1">@admin</a> S456858</p>
]]></description><link>https://smartapi.angelone.in/smartapi/forum/post/8184</link><guid isPermaLink="true">https://smartapi.angelone.in/smartapi/forum/post/8184</guid><dc:creator><![CDATA[francesca66z9]]></dc:creator><pubDate>Wed, 22 Sep 2021 05:44:50 GMT</pubDate></item><item><title><![CDATA[Reply to AG8001 error, can&#x27;t place order. (Can login to API, but just can&#x27;t place order) on Wed, 22 Sep 2021 05:38:47 GMT]]></title><description><![CDATA[<p dir="auto">HI @adiknowsall Post your client id here.</p>
]]></description><link>https://smartapi.angelone.in/smartapi/forum/post/8182</link><guid isPermaLink="true">https://smartapi.angelone.in/smartapi/forum/post/8182</guid><dc:creator><![CDATA[admin]]></dc:creator><pubDate>Wed, 22 Sep 2021 05:38:47 GMT</pubDate></item></channel></rss>