Not able to get data using get_ltp_data

Hi,

I am not able to get data using get_ltp_data, but I am able to get the holdings.

(Pdb++) data=tsl.get_ltp_data(['ABB'])
Exception at calling ltp as {'status': 'failure', 'remarks': {'error_code': None, 'error_type': None, 'error_message': None}, 'data': ''}
(Pdb++) tsl.get_holdings()
  exchange tradingSymbol securityId          isin  totalQty  dpQty  t1Qty  mtf_t1_qty  mtf_qty  availableQty  collateralQty  avgCostPrice  lastTradedPrice
0      ALL      RELIANCE       2885  INE002A01018         1      1      0           0        0             1              0       1544.00          1472.90
1      ALL          SBIN       3045  INE062A01020         1      1      0           0        0             1              0        974.50           998.75
2      NSE     MOCAPITAL      30065  INF247L01EV3        54     54      0           0        0            54              0         43.75            45.96
(Pdb++)

Please let me know what could be the issue. I am using latest official version of dhan and tradehull.

Thanks in Advance.

Hi @Prateek

  1. Check if ClientID is correct.
  2. Try using new access token.

Also is LTP call working for other stocks, or is it failing for all calls.