Error 401 while accessing Nifty F&O live market data

Hi Friends,

I am trying to develop a python script which fetch live market data for BankNifty but when i run the script, it always fetch the historical data for one day old. i tried to find out the reason, i tried to check permission on my token to access the live market. I got following results: Scope: default

:magnifying_glass_tilted_left: Testing token permissions…
Profile :white_check_mark: (200)
Funds :white_check_mark: (200)
Live Data :cross_mark: (404)
Historical :white_check_mark: (200), can someone help me what is the reason it is causing this error? Thank you. TRS

Could you share the code you’re using to fetch live data? That will help us pinpoint the issue and provide a more accurate solution.

You need to use intraday API to get current day data. Historical API will return one day old data.