-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BreezeConnect API connection issue #169
Comments
Same error being experienced here too |
@Idirect-Tech Any updates on the above issue. IS breeze api down today ? |
Yes, not able to use API today, @Idirect-Tech please update ETA for fix |
Same problem since yesterday for Javascript API. Please fix. |
API is down but no information forthcoming from the breeze team |
This is the error we are getting from ICICI Breeze (nginx) server. HTTP 502 (bad gateway).<!DOCTYPE html>
<html>
<head>
<title>Error</title>
<style>
html { color-scheme: light dark; }
body { width: 35em; margin: 0 auto;
font-family: Tahoma, Verdana, Arial, sans-serif; }
</style>
</head>
<body>
<h1>An error occurred.</h1>
<p>Sorry, the page you are looking for is currently unavailable.<br/>
Please try again later.</p>
<p>If you are the system administrator of this resource then you should check
the error log for details.</p>
<p><em>Faithfully yours, nginx.</em></p>
</body>
</html> ICICI Direct team, please help once you are back on Monday (12/16). |
Need faster response from the Breeze team. If there is an outage, it will be good to share that with the users and the approximate time required for the corrective actions. |
Same error here as well. Need faster response from the Breeze team. @Idirect-Tech |
Dear Muthu,
Could you please check now?
If you still encounter any issues, kindly let us know.
[E29CF836]
Thanks & Regards,
Hiten Solanki,
Team Breeze API,
ICICI Securities
…________________________________
From: Muthu ***@***.***>
Sent: Sunday, December 15, 2024 1:31 PM
To: Idirect-Tech/Breeze-Python-SDK ***@***.***>
Cc: BREEZEAPI ***@***.***>; Mention ***@***.***>
Subject: Re: [Idirect-Tech/Breeze-Python-SDK] BreezeConnect API connection issue (Issue #169)
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!
Same error here as well. Need faster response from the Breeze team. @Idirect-Tech<https://github.com/Idirect-Tech>
—
Reply to this email directly, view it on GitHub<#169 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A3TQZ47B4D3VF53P2AQXY2T2FUZOJAVCNFSM6AAAAABTTF5RXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBTGU2DKMZTHA>.
You are receiving this because you were mentioned.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).
|
Dear Ramkumar,
Could you please check now?
If you still encounter any issues, kindly let us know.
[E29CF836]
Thanks & Regards,
Hiten Solanki,
Team Breeze API,
ICICI Securities
…________________________________
From: Ramkumar Ramaswamy ***@***.***>
Sent: Saturday, December 14, 2024 12:41 PM
To: Idirect-Tech/Breeze-Python-SDK ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [Idirect-Tech/Breeze-Python-SDK] BreezeConnect API connection issue (Issue #169)
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!
Same error being experienced here too
—
Reply to this email directly, view it on GitHub<#169 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A3TQZ467LGGWOSLYE372PKT2FPKYZAVCNFSM6AAAAABTTF5RXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBSHEYTQMJSGY>.
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).
|
It's working now. Thanks. |
It's working now. Thank you and kudos to ICICI breeze team! |
Below code worked fine yesterday with yesterday's api_session token. Not working today with today's token
from breeze_connect import BreezeConnect
import pandas as pd
api_key = "MyAPIKey"
api_secret = "MyAPISecret"
api_session = "MyAPISessionfor Today"
breeze = BreezeConnect(api_key=api_key)
breeze.generate_session(api_secret=api_secret,session_token=api_session)
getting below Error response 👍 ---------------------------------------------------------------------------
JSONDecodeError Traceback (most recent call last)
File ~\anaconda3\Lib\site-packages\requests\models.py:974, in Response.json(self, **kwargs)
973 try:
--> 974 return complexjson.loads(self.text, **kwargs)
975 except JSONDecodeError as e:
976 # Catch JSON-related errors and raise as requests.JSONDecodeError
977 # This aliases json.JSONDecodeError and simplejson.JSONDecodeError
File ~\anaconda3\Lib\json_init_.py:346, in loads(s, cls, object_hook, parse_float, parse_int, parse_constant, object_pairs_hook, **kw)
343 if (cls is None and object_hook is None and
344 parse_int is None and parse_float is None and
345 parse_constant is None and object_pairs_hook is None and not kw):
--> 346 return _default_decoder.decode(s)
347 if cls is None:
File ~\anaconda3\Lib\json\decoder.py:337, in JSONDecoder.decode(self, s, _w)
333 """Return the Python representation of
s
(astr
instance334 containing a JSON document).
335
336 """
--> 337 obj, end = self.raw_decode(s, idx=_w(s, 0).end())
338 end = _w(s, end).end()
File ~\anaconda3\Lib\json\decoder.py:355, in JSONDecoder.raw_decode(self, s, idx)
354 except StopIteration as err:
--> 355 raise JSONDecodeError("Expecting value", s, err.value) from None
356 return obj, end
JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
JSONDecodeError Traceback (most recent call last)
File ~\anaconda3\Lib\site-packages\breeze_connect\breeze_connect.py:797, in BreezeConnect.api_util(self)
796 response = requests.get(url=url, data=body, headers=headers)
--> 797 json_data = response.json()
798 if 'Success' in json_data and json_data['Success'] is not None:
File ~\anaconda3\Lib\site-packages\requests\models.py:978, in Response.json(self, **kwargs)
975 except JSONDecodeError as e:
976 # Catch JSON-related errors and raise as requests.JSONDecodeError
977 # This aliases json.JSONDecodeError and simplejson.JSONDecodeError
--> 978 raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Exception Traceback (most recent call last)
Cell In[7], line 1
----> 1 breeze.generate_session(api_secret=api_secret,session_token=api_session)
File ~\anaconda3\Lib\site-packages\breeze_connect\breeze_connect.py:858, in BreezeConnect.generate_session(self, api_secret, session_token)
856 self.session_key = session_token
857 self.secret_key = api_secret
--> 858 self.api_util()
859 self.get_stock_script_list()
860 self.api_handler = ApificationBreeze(self)
File ~\anaconda3\Lib\site-packages\breeze_connect\breeze_connect.py:816, in BreezeConnect.api_util(self)
813 raise Exception("Unexpected format in API response")
814 except json.decoder.JSONDecodeError:
815 # Handle JSON decoding error
--> 816 raise Exception("Invalid JSON format in API response")
817 except KeyError as e:
818 # Handle missing key error
819 raise Exception(f"KeyError: {e} not found in API response")
Exception: Invalid JSON format in API response
The text was updated successfully, but these errors were encountered: