Closed elsbrock closed 2 years ago
Hello, you must currently disable the signature verification in the extension (this is only possible with the beta of MoneyMoney). With the next release of MoneyMoney the host gdcdyn.interactivebrokers.com will be allowed and then it should be possible directly.
Thank you so much for this! I just tried to set it up and am now getting this error:
10:02:55 Starting account setup assistant.
10:03:28 Lade Kontenliste ...
Web Banking Engine: Using user-supplied extension ibkr.lua version 0.10.
Protocol version: Web Scraping
Sending: GET https://gdcdyn.interactivebrokers.com/Universal/servlet/FlexStatementService.SendRequest?t=XXX&q=YYY&v=3
Received: <FlexStatementResponse timestamp='05 January, 2022 08:03 AM EST'> <Status>Fail</Status> <ErrorCode>1020</ErrorCode> <ErrorMessage>Invalid request or unable to validate request.</ErrorMessage> </FlexStatementResponse>
<FlexStatementResponse timestamp='05 January, 2022 08:03 AM EST'> <Status>Fail</Status> <ErrorCode>1020</ErrorCode> <ErrorMessage>Invalid request or unable to validate request.</ErrorMessage> </FlexStatementResponse>
First, have you prepared the IBKR Flex Quer and activated the Flex-Web-Service service? Hav you the IBKR Flex Query id (XXX) und the Flex-Web-Service Token (yyy) You can fetch the flex report with curl, xxx and yyy you have to modify according to the configuration in IB ?
curl "https://gdcdyn.interactivebrokers.com/Universal/servlet/FlexStatementService.SendRequest?t=yyy&q=xxx&v=3"
<FlexStatementResponse timestamp='05 January, 2022 08:21 AM EST'>
<Status>Success</Status>
<ReferenceCode>REF_CODE</ReferenceCode>
<Url>https://gdcdyn.interactivebrokers.com/Universal/servlet/FlexStatementService.GetStatement</Url>
</FlexStatementResponse>
Second request, replace REF_CODE with the number in the response.
curl "https://gdcdyn.interactivebrokers.com/Universal/servlet/FlexStatementService.GetStatement?t=yyy&q= REF_CODE&v=3" >
XXX and YYY were just placeholders. I was indeed using the wrong Flex Query id. Thanks for your help.
I just updated to the latest beta and it works perfectly for me. I would consider my issue to be resolved.
Finally, great work!
I wanted to give it a spin but failed during account setup; looks like it is using new hosts in my case.