500 Server Error
I've been getting a 500 error for the past few days while fetching transactions history. Anyone else seeing this or is it just me? I'm using iBind 0.1.21.
INFO:ibind_fh.IbkrClient:POST https://api.ibkr.com/v1/api/pa/transactions {'json': {'acctIds': ['U10654587'], 'conids': [557337352], 'currency': 'USD'}} Traceback (most recent call last): File "/usr/local/lib/python3.14/site-packages/ibind/base/rest_client.py", line 288, in _process_response response.raise_for_status() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/local/lib/python3.14/site-packages/requests/models.py", line 1026, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api.ibkr.com/v1/api/pa/transactions
It looks like IBKR might have a data corruption problem on their end, or maybe I'm requesting an invalid conID.
File "/usr/local/lib/python3.14/site-packages/ibind/base/rest_client.py", line 300, in _process_response raise ExternalBrokerError( f'{self}: response error {result} :: {response.status_code} :: {response.reason} :: {response.text}', status_code=response.status_code ) from e ibind.support.errors.ExternalBrokerError: IbkrClient: response error Result(data=None, request={'url': 'https://api.ibkr.com/v1/api/pa/transactions', 'json': {'acctIds': ['U10654587'], 'conids': [557337352], 'currency': 'USD'}}) :: 500 :: Internal Server Error :: {"error":"Cannot deserialize value of type
java.lang.Booleanfrom Object value (tokenJsonToken.START_OBJECT)\n at [Source: (String)"{"rc":0,"rt":{"asOf":1763156652459},"baseCur":"USD","nd":89,"rpnl":{"data":[],"amt":0},"from":"20250818","to":"20251114","transactions":[{"date":"20250903","cur":"USD","symbol":"BRW","pr":"-","fxRate":1,"qty":"-","amt":294.53,"acctid":"U10654587","type":"Dividend Payment","desc":"Dividend Payment"},{"date":"20250930","cur":"USD","symbol":"BRW","pr":"-","fxRate":1,"qty":"-","amt":294.53,"acctid":"U10654587","type":"Dividend Payment","desc":"Dividend Payment"},{"date":"20251031","cur":"USD","symbo"[truncated 127 chars]; line: 1, column: 14] (through reference chain: ibgroup.web.core.iblink.router.portfolioanalyst.model.portfolioanalyst.response.TransactionsResponse["rt"])"}
I changed my code to catch the exception and display which stocks are causing the problem...it's all of them. Either my account is borked or something has gone wrong at IBKR.
Hey @bfoz - thanks for reporting this, I haven't seen it on my end. I'd suggest raising this with IBKR support. Make sure you do it within a 7 days window and point at exact times when this has happened - let us know what they say.
Same issue here. Raised it to the IBKR support who escalated to the dev team.
Any updates @Merired ?
@bfoz We had some exchanges with the support, but it was more towards replicating the issue on their end. So no meaningful progress, sadly.