Idirect-Tech / Breeze-Python-SDK

The official Python client library for the ICICI Securities trading APIs
MIT License
53 stars 28 forks source link

Invalid Checksum #30

Closed prattyush closed 1 year ago

prattyush commented 1 year ago

I have been using the API successfully for about a week now and using it to place orders, check history and modify orders successfully with using the Python SDK.

However, on 30th June around after 5pm, started getting the error {'Status': 5, 'Error': 'Authentication Fail :: Invalid Checksum.'} on all the requests.

breeze = BreezeConnect(api_key="") breeze.generate_session(api_secret="", session_token="session_id")

session id generated using the https://api.icicidirect.com/apiuser/login?api_key= option.

Have you guys done any change on your side, is checksum required for all the calls. Any updates would be helpful.

Idirect-Tech commented 1 year ago

Nope, its working fine at our end. Double check the API keys combination. Make sure you're using same app key and secret key while login and while creating breeze session object.

prattyush commented 1 year ago

Thanks. I got it. The secret key had been changed. Not sure how. May be I pressed on the re-generate key option.

Cool. Thanks.