Error debugging

-----Logged into Dhan-----
reading existing file all_instrument 2025-02-13.csv
Got the instrument file
{‘status’: ‘failure’, ‘remarks’: {‘error_code’: ‘DH-902’, ‘error_type’: ‘Invalid_Access’, ‘error_message’: ‘HTTP Status 451. User has not subscribed to Data APIs or does not have access to Trading APIs. Kindly subscribe to Data APIs to be able to fetch Data.’}, ‘data’: {‘errorType’: ‘Invalid_Access’, ‘errorCode’: ‘DH-902’, ‘errorMessage’: ‘HTTP Status 451. User has not subscribed to Data APIs or does not have access to Trading APIs. Kindly subscribe to Data APIs to be able to fetch Data.’}}
Traceback (most recent call last):
File “C:\Users\Hello\AppData\Local\Programs\Python\Python38\lib\site-packages\Dhan_Tradehull\Dhan_Tradehull.py”, line 519, in get_intraday_data
raise Exception(ohlc)
Exception: {‘status’: ‘failure’, ‘remarks’: {‘error_code’: ‘DH-902’, ‘error_type’: ‘Invalid_Access’, ‘error_message’: ‘HTTP Status 451. User has not subscribed to Data APIs or does not have access to Trading APIs. Kindly subscribe to Data APIs to be able to fetch Data.’}, ‘data’: {‘errorType’: ‘Invalid_Access’, ‘errorCode’: ‘DH-902’, ‘errorMessage’: ‘HTTP Status 451. User has not subscribed to Data APIs or does not have access to Trading APIs. Kindly subscribe to Data APIs to be able to fetch Data.’}}
{‘status’: ‘failure’, ‘remarks’: {‘error_code’: ‘DH-902’, ‘error_type’: ‘Invalid_Access’, ‘error_message’: ‘HTTP Status 451. User has not subscribed to Data APIs or does not have access to Trading APIs. Kindly subscribe to Data APIs to be able to fetch Data.’}, ‘data’: {‘errorType’: ‘Invalid_Access’, ‘errorCode’: ‘DH-902’, ‘errorMessage’: ‘HTTP Status 451. User has not subscribed to Data APIs or does not have access to Trading APIs. Kindly subscribe to Data APIs to be able to fetch Data.’}}
Traceback (most recent call last):
File “C:\Users\Hello\AppData\Local\Programs\Python\Python38\lib\site-packages\Dhan_Tradehull\Dhan_Tradehull.py”, line 519, in get_intraday_data
raise Exception(ohlc)
Exception: {‘status’: ‘failure’, ‘remarks’: {‘error_code’: ‘DH-902’, ‘error_type’: ‘Invalid_Access’, ‘error_message’: ‘HTTP Status 451. User has not subscribed to Data APIs or does not have access to Trading APIs. Kindly subscribe to Data APIs to be able to fetch Data.’}, ‘data’: {‘errorType’: ‘Invalid_Access’, ‘errorCode’: ‘DH-902’, ‘errorMessage’: ‘HTTP Status 451. User has not subscribed to Data APIs or does not have access to Trading APIs. Kindly subscribe to Data APIs to be able to fetch Data.’}}
available_balance 1000.0
Traceback (most recent call last):
File “Hello.py”, line 52, in
main()
File “Hello.py”, line 14, in main
get_data_and_execute(tsl)
File “Hello.py”, line 24, in get_data_and_execute
ltp1 = tsl.get_ltp(‘ACC’)
AttributeError: ‘Tradehull’ object has no attribute ‘get_ltp’

Hello @Mn_Prasannakumarmn

Welcome to MadeForTrade community!

Request you to kindly post all your queries related to Youtube Series here: