<?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[SmartConnect.getMarginApi() throws exception.]]></title><description><![CDATA[<p dir="auto">This API was working fine earlier. Started throwing exception from last few days.</p>
<p dir="auto">Exception:</p>
<p dir="auto">Lib\site-packages\SmartApi\<a href="http://smartConnect.py" target="_blank" rel="noopener noreferrer nofollow ugc">smartConnect.py</a>", line 235, in _request<br />
raise ex.DataException("Couldn't parse the JSON response received from the server: {content}".format(<br />
SmartApi.smartExceptions.DataException: Couldn't parse the JSON response received from the server: b''<br />
Response: 200 b'{"status":true,"message":"SUCCESS","errorcode":"","data":{"net":"6356.4385","availablecash":"6356.4385","availableintradaypayin":"0.0000","availablelimitmargin":"0.0000","collateral":"0.0000","m2munrealized":"-2180.0000","m2mrealized":"0.0000","utiliseddebits":"44976.3715","utilisedspan":null,"utilisedoptionpremium":null,"utilisedholdingsales":null,"utilisedexposure":null,"utilisedturnover":null,"utilisedpayout":"6356.4385"}}'</p>
]]></description><link>https://smartapi.angelone.in/smartapi/forum/topic/5561/smartconnect-getmarginapi-throws-exception</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Apr 2026 15:49:48 GMT</lastBuildDate><atom:link href="https://smartapi.angelone.in/smartapi/forum/topic/5561.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 13 Apr 2026 15:57:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to SmartConnect.getMarginApi() throws exception. on Tue, 14 Apr 2026 10:12:56 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> The response is not in a proper json format. That's why SmartConnect,py class throws error. As I observed, it's broke since Apilr01 2026.</p>
]]></description><link>https://smartapi.angelone.in/smartapi/forum/post/19069</link><guid isPermaLink="true">https://smartapi.angelone.in/smartapi/forum/post/19069</guid><dc:creator><![CDATA[sdrnaikinv]]></dc:creator><pubDate>Tue, 14 Apr 2026 10:12:56 GMT</pubDate></item><item><title><![CDATA[Reply to SmartConnect.getMarginApi() throws exception. on Tue, 14 Apr 2026 09:11:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://smartapi.angelone.in/smartapi/forum/uid/865">@sdrnaikinv</a> You can see in the API response posted by you that the data is available. It is your program which is not able to parse the data.</p>
]]></description><link>https://smartapi.angelone.in/smartapi/forum/post/19064</link><guid isPermaLink="true">https://smartapi.angelone.in/smartapi/forum/post/19064</guid><dc:creator><![CDATA[admin]]></dc:creator><pubDate>Tue, 14 Apr 2026 09:11:03 GMT</pubDate></item></channel></rss>