Unable to run my python API based program

Hi,

Always throwing error. Infact the same program was running in the morning. However I have observed my buy and sell was not getting executed on time.

Anybody has solutions for it? What could be the reason.

SYSTEM ARGUEMENTS BANKNIFTY 2023-09-20 46200 True
SYMBOL TOKEN: {‘stat’: ‘Not_ok’, ‘emsg’: ‘No Data’} NFO
Traceback (most recent call last):
File “BBLowTrail.py”, line 233, in
AttributeError: ‘dict’ object has no attribute ‘exchange’
[5396] Failed to execute script ‘BBLowTrail’ due to unhandled exception!

Sorry for the late reply, kindly share your code