Shoonya-Dev / ShoonyaApi-py

145 stars 135 forks source link

Error 404: api.searchscrip not working #155

Closed jayknayak closed 7 months ago

jayknayak commented 7 months ago

api.searchscrip(exchange='NFO', searchtext='NIFTY') is not working. I get:

DEBUG:urllib3.connectionpool:https://api.shoonya.com:443 "POST /NorenWClientTP//SearchScrip HTTP/1.1" 404 58 DEBUG:NorenRestApiPy.NorenApi:{"stat":"Not_Ok","emsg":"No Data : Exchange Not enabled"}

I tried changing the client apiKey and password as someone from their customer support team suggested. But still no luck. All the other APIs are working fine.

TWP80 commented 7 months ago

Exchange Not enabled means you are not Enable Exchanges go to https://prism.shoonya.com/services/index/requestServiceElement and Enable Exchanges NFO(NSE FUTURE OPTION)

jayknayak commented 7 months ago

Issue automatically solved after an account reactivation service request fulfillment.