Idirect-Tech / Breeze-Python-SDK

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

API throwing error while connecting with breeze api #96

Open 1999devil opened 1 month ago

1999devil commented 1 month ago

I have used Breeze many times and it was working fine. I don't why suddenly today it's throwing the error

Exception: Unexpected error: Unable to retrieve customer details at the moment. Please try again later.

BELOW IS THE ERROR I HAVE RECIEVED

Please find the snip of the error below

ERROR_SNIP

Idirect-Tech commented 1 month ago

Dear Client,

Could you please create the session token again and use it.

If still you face any issue, then kindly share your contact number so that we can connect and resolve.

[E29CF836]

Thanks & Regards,

Amrit Mohanty,

API & Algo Products,

Derivatives, EPG

ICICIdirect


From: 1999devil @.> Sent: Thursday, May 9, 2024 8:19 AM To: Idirect-Tech/Breeze-Python-SDK @.> Cc: Subscribed @.***> Subject: [Idirect-Tech/Breeze-Python-SDK] API throwing error while connecting with breeze api (Issue #96)

CAUTION: This email originated from outside the organization! Do not click links, open attachments or reply, unless you recognize the sender's email address! Use 'Report suspicious Email' button in the toolbar to report Phishing mails. Beware!

I have used Breeze many times and it was working fine. I don't why suddenly today it's throwing the error

Exception: Unexpected error: Unable to retrieve customer details at the moment. Please try again later.

BELOW IS THE ERROR I HAVE RECIEVED

breeze = BreezeConnect(api_key=app_key) breeze.generate_session(api_secret=secret_key,session_token=session_token) Traceback (most recent call last):

Screenshot.2024-05-09.055958.png (view on web)https://github.com/Idirect-Tech/Breeze-Python-SDK/assets/67580322/85473d88-77c1-4ca6-b057-dbd0c05785a4 File ~\anaconda3\envs\spyder-env\Lib\site-packages\breeze_connect\breeze_connect.py:777 in api_util raise Exception(except_message.CUSTOMERDETAILS_API_EXCEPTION.value)

Exception: Unable to retrieve customer details at the moment. Please try again later.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

Cell In[6], line 1 breeze.generate_session(api_secret=secret_key,session_token=session_token)

File ~\anaconda3\envs\spyder-env\Lib\site-packages\breeze_connect\breeze_connect.py:824 in generate_session self.api_util()

File ~\anaconda3\envs\spyder-env\Lib\site-packages\breeze_connect\breeze_connect.py:788 in api_util raise Exception(f"Unexpected error: {str(e)}")

Exception: Unexpected error: Unable to retrieve customer details at the moment. Please try again later.

Please find the snip of the error below

ERROR_SNIP.png (view on web)https://github.com/Idirect-Tech/Breeze-Python-SDK/assets/67580322/4409c23b-1258-45f8-8cff-9bdc2a13e5f5

— Reply to this email directly, view it on GitHubhttps://github.com/Idirect-Tech/Breeze-Python-SDK/issues/96, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3TQZ47EWGXL3LJDQ673WULZBLP4TAVCNFSM6AAAAABHOBKQO6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGI4DMNZZGE4DEMY. You are receiving this because you are subscribed to this thread.Message ID: @.***>

Print this mail only if absolutely necessary. Save Paper. Save Trees." "The information contained in this e-mail and any attachments to this message are intended for the exclusive use of the intended recipient and may contain proprietary, confidential or legally privileged information. If you are not the intended recipient, please note that you are not authorised to disseminate, distribute or copy this e-mail or any parts of it or act upon/rely on the contents of this e-mail in any manner. Please notify the sender immediately by e-mail and destroy all copies of this e-mail and any attachments. Please also note that ICICI Bank or its subsidiaries and associated companies, (collectively "ICICI Group"), are unable to exercise control or ensure the integrity of/over the contents of the information contained in e-mail transmissions and that any views expressed in this e-mail are not endorsed by/binding on the ICICI Group unless the sender does so expressly with due authority of ICICI Group. Before opening any attachments please check them for viruses and defects and please note that ICICI Group accepts no liability or responsibility for any damage caused by any virus that may be transmitted by this email. Any unauthorized use of this email or any attachment(s) may be treated as infringement of right(s) including right of privacy under the applicable laws of India including Information and Technology Act, 2000. Thank you for your cooperation. Regulatory Disclosures are available on https://www.icicisecurities.com (for institutional business) and www.icicidirect.com (for retail business).

1999devil commented 1 month ago

Hi,

I tried with new session token still getting the same error message

please find contact details below

Email - @.*** Phone - 9535995205

Regards, Govind

On Thu, 9 May 2024 at 10:23, Idirect-Tech @.***> wrote:

Dear Client,

Could you please create the session token again and use it.

If still you face any issue, then kindly share your contact number so that we can connect and resolve.

[E29CF836]

Thanks & Regards,

Amrit Mohanty,

API & Algo Products,

Derivatives, EPG

ICICIdirect


From: 1999devil @.> Sent: Thursday, May 9, 2024 8:19 AM To: Idirect-Tech/Breeze-Python-SDK @.> Cc: Subscribed @.***> Subject: [Idirect-Tech/Breeze-Python-SDK] API throwing error while connecting with breeze api (Issue #96)

CAUTION: This email originated from outside the organization! Do not click links, open attachments or reply, unless you recognize the sender's email address! Use 'Report suspicious Email' button in the toolbar to report Phishing mails. Beware!

I have used Breeze many times and it was working fine. I don't why suddenly today it's throwing the error

Exception: Unexpected error: Unable to retrieve customer details at the moment. Please try again later.

BELOW IS THE ERROR I HAVE RECIEVED

breeze = BreezeConnect(api_key=app_key) breeze.generate_session(api_secret=secret_key,session_token=session_token) Traceback (most recent call last):

Screenshot.2024-05-09.055958.png (view on web)< https://github.com/Idirect-Tech/Breeze-Python-SDK/assets/67580322/85473d88-77c1-4ca6-b057-dbd0c05785a4>

File ~\anaconda3\envs\spyder-env\Lib\site-packages\breeze_connect\breeze_connect.py:777 in api_util raise Exception(except_message.CUSTOMERDETAILS_API_EXCEPTION.value)

Exception: Unable to retrieve customer details at the moment. Please try again later.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

Cell In[6], line 1 breeze.generate_session(api_secret=secret_key,session_token=session_token)

File ~\anaconda3\envs\spyder-env\Lib\site-packages\breeze_connect\breeze_connect.py:824 in generate_session self.api_util()

File ~\anaconda3\envs\spyder-env\Lib\site-packages\breeze_connect\breeze_connect.py:788 in api_util raise Exception(f"Unexpected error: {str(e)}")

Exception: Unexpected error: Unable to retrieve customer details at the moment. Please try again later.

Please find the snip of the error below

ERROR_SNIP.png (view on web)< https://github.com/Idirect-Tech/Breeze-Python-SDK/assets/67580322/4409c23b-1258-45f8-8cff-9bdc2a13e5f5>

— Reply to this email directly, view it on GitHub< https://github.com/Idirect-Tech/Breeze-Python-SDK/issues/96>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/A3TQZ47EWGXL3LJDQ673WULZBLP4TAVCNFSM6AAAAABHOBKQO6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGI4DMNZZGE4DEMY>.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

Print this mail only if absolutely necessary. Save Paper. Save Trees." "The information contained in this e-mail and any attachments to this message are intended for the exclusive use of the intended recipient and may contain proprietary, confidential or legally privileged information. If you are not the intended recipient, please note that you are not authorised to disseminate, distribute or copy this e-mail or any parts of it or act upon/rely on the contents of this e-mail in any manner. Please notify the sender immediately by e-mail and destroy all copies of this e-mail and any attachments. Please also note that ICICI Bank or its subsidiaries and associated companies, (collectively "ICICI Group"), are unable to exercise control or ensure the integrity of/over the contents of the information contained in e-mail transmissions and that any views expressed in this e-mail are not endorsed by/binding on the ICICI Group unless the sender does so expressly with due authority of ICICI Group. Before opening any attachments please check them for viruses and defects and please note that ICICI Group accepts no liability or responsibility for any damage caused by any virus that may be transmitted by this email. Any unauthorized use of this email or any attachment(s) may be treated as infringement of right(s) including right of privacy under the applicable laws of India including Information and Technology Act, 2000. Thank you for your cooperation. Regulatory Disclosures are available on https://www.icicisecurities.com (for institutional business) and www.icicidirect.com (for retail business).

— Reply to this email directly, view it on GitHub https://github.com/Idirect-Tech/Breeze-Python-SDK/issues/96#issuecomment-2101930207, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQDTDIQXJBI45PDQEDELBODZBL6NBAVCNFSM6AAAAABHOBKQO6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBRHEZTAMRQG4 . You are receiving this because you authored the thread.Message ID: @.***>

Idirect-Tech commented 1 month ago

Dear Govind,

As discussed please join the below link.

@.***/0?context=%7B%22Tid%22:%2261275075-9376-485d-820e-102b887c823f%22,%22Oid%22:%22497c6682-ca33-4a5c-8028-ae1ce10a4989%22%7D

[E29CF836]

Thanks & Regards,

Amrit Mohanty,

API & Algo Products,

Derivatives, EPG

ICICIdirect


From: 1999devil @.> Sent: Thursday, May 9, 2024 11:17 AM To: Idirect-Tech/Breeze-Python-SDK @.> Cc: BREEZEAPI @.>; Comment @.> Subject: Re: [Idirect-Tech/Breeze-Python-SDK] API throwing error while connecting with breeze api (Issue #96)

CAUTION: This email originated from outside the organization! Do not click links, open attachments or reply, unless you recognize the sender's email address! Use 'Report suspicious Email' button in the toolbar to report Phishing mails. Beware!

Hi,

I tried with new session token still getting the same error message

please find contact details below

Email - @.*** Phone - 9535995205

Regards, Govind

On Thu, 9 May 2024 at 10:23, Idirect-Tech @.***> wrote:

Dear Client,

Could you please create the session token again and use it.

If still you face any issue, then kindly share your contact number so that we can connect and resolve.

[E29CF836]

Thanks & Regards,

Amrit Mohanty,

API & Algo Products,

Derivatives, EPG

ICICIdirect


From: 1999devil @.> Sent: Thursday, May 9, 2024 8:19 AM To: Idirect-Tech/Breeze-Python-SDK @.> Cc: Subscribed @.***> Subject: [Idirect-Tech/Breeze-Python-SDK] API throwing error while connecting with breeze api (Issue #96)

CAUTION: This email originated from outside the organization! Do not click links, open attachments or reply, unless you recognize the sender's email address! Use 'Report suspicious Email' button in the toolbar to report Phishing mails. Beware!

I have used Breeze many times and it was working fine. I don't why suddenly today it's throwing the error

Exception: Unexpected error: Unable to retrieve customer details at the moment. Please try again later.

BELOW IS THE ERROR I HAVE RECIEVED

breeze = BreezeConnect(api_key=app_key) breeze.generate_session(api_secret=secret_key,session_token=session_token) Traceback (most recent call last):

Screenshot.2024-05-09.055958.png (view on web)< https://github.com/Idirect-Tech/Breeze-Python-SDK/assets/67580322/85473d88-77c1-4ca6-b057-dbd0c05785a4>

File ~\anaconda3\envs\spyder-env\Lib\site-packages\breeze_connect\breeze_connect.py:777 in api_util raise Exception(except_message.CUSTOMERDETAILS_API_EXCEPTION.value)

Exception: Unable to retrieve customer details at the moment. Please try again later.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

Cell In[6], line 1 breeze.generate_session(api_secret=secret_key,session_token=session_token)

File ~\anaconda3\envs\spyder-env\Lib\site-packages\breeze_connect\breeze_connect.py:824 in generate_session self.api_util()

File ~\anaconda3\envs\spyder-env\Lib\site-packages\breeze_connect\breeze_connect.py:788 in api_util raise Exception(f"Unexpected error: {str(e)}")

Exception: Unexpected error: Unable to retrieve customer details at the moment. Please try again later.

Please find the snip of the error below

ERROR_SNIP.png (view on web)< https://github.com/Idirect-Tech/Breeze-Python-SDK/assets/67580322/4409c23b-1258-45f8-8cff-9bdc2a13e5f5>

— Reply to this email directly, view it on GitHub< https://github.com/Idirect-Tech/Breeze-Python-SDK/issues/96>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/A3TQZ47EWGXL3LJDQ673WULZBLP4TAVCNFSM6AAAAABHOBKQO6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGI4DMNZZGE4DEMY>.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

Print this mail only if absolutely necessary. Save Paper. Save Trees." "The information contained in this e-mail and any attachments to this message are intended for the exclusive use of the intended recipient and may contain proprietary, confidential or legally privileged information. If you are not the intended recipient, please note that you are not authorised to disseminate, distribute or copy this e-mail or any parts of it or act upon/rely on the contents of this e-mail in any manner. Please notify the sender immediately by e-mail and destroy all copies of this e-mail and any attachments. Please also note that ICICI Bank or its subsidiaries and associated companies, (collectively "ICICI Group"), are unable to exercise control or ensure the integrity of/over the contents of the information contained in e-mail transmissions and that any views expressed in this e-mail are not endorsed by/binding on the ICICI Group unless the sender does so expressly with due authority of ICICI Group. Before opening any attachments please check them for viruses and defects and please note that ICICI Group accepts no liability or responsibility for any damage caused by any virus that may be transmitted by this email. Any unauthorized use of this email or any attachment(s) may be treated as infringement of right(s) including right of privacy under the applicable laws of India including Information and Technology Act, 2000. Thank you for your cooperation. Regulatory Disclosures are available on https://www.icicisecurities.com (for institutional business) and www.icicidirect.com (for retail business).

— Reply to this email directly, view it on GitHub https://github.com/Idirect-Tech/Breeze-Python-SDK/issues/96#issuecomment-2101930207, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQDTDIQXJBI45PDQEDELBODZBL6NBAVCNFSM6AAAAABHOBKQO6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBRHEZTAMRQG4 . You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHubhttps://github.com/Idirect-Tech/Breeze-Python-SDK/issues/96#issuecomment-2101982780, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3TQZ43JKYLC6GFT3YUQJQDZBMEWTAVCNFSM6AAAAABHOBKQO6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBRHE4DENZYGA. You are receiving this because you commented.Message ID: @.***>

Print this mail only if absolutely necessary. Save Paper. Save Trees." "The information contained in this e-mail and any attachments to this message are intended for the exclusive use of the intended recipient and may contain proprietary, confidential or legally privileged information. If you are not the intended recipient, please note that you are not authorised to disseminate, distribute or copy this e-mail or any parts of it or act upon/rely on the contents of this e-mail in any manner. Please notify the sender immediately by e-mail and destroy all copies of this e-mail and any attachments. Please also note that ICICI Bank or its subsidiaries and associated companies, (collectively "ICICI Group"), are unable to exercise control or ensure the integrity of/over the contents of the information contained in e-mail transmissions and that any views expressed in this e-mail are not endorsed by/binding on the ICICI Group unless the sender does so expressly with due authority of ICICI Group. Before opening any attachments please check them for viruses and defects and please note that ICICI Group accepts no liability or responsibility for any damage caused by any virus that may be transmitted by this email. Any unauthorized use of this email or any attachment(s) may be treated as infringement of right(s) including right of privacy under the applicable laws of India including Information and Technology Act, 2000. Thank you for your cooperation. Regulatory Disclosures are available on https://www.icicisecurities.com (for institutional business) and www.icicidirect.com (for retail business).