I followed the guide for setting up OAuth and waited 1 day as the guide recommended.
I tried to authenticate with OAuth using the following script (I have all the appropriate env vars set):
from ibind import IbkrClient
client = IbkrClient()
portfolio_accounts = client.portfolio_accounts().data
print(portfolio_accounts)
I get the following error when I run this code:
ibind.support.errors.ExternalBrokerError: IbkrClient: response error Result(data=None, request={'url': 'https://api.ibkr.com/v1/api/iserver/auth/ssodh/init', 'json': {'publish': True, 'compete': True}}) :: 500 :: Internal Server Error :: {"error":"failed to generate sso dh token"}
Has anyone else encountered this issue? I am trying to login to a paper account if that matters.
Thank you!
I followed the guide for setting up OAuth and waited 1 day as the guide recommended.
I tried to authenticate with OAuth using the following script (I have all the appropriate env vars set):
I get the following error when I run this code:
Has anyone else encountered this issue? I am trying to login to a paper account if that matters.
Thank you!