TradeRepublicApi
TradeRepublicApi copied to clipboard
After App update requests fail with "failed 30"
I do not know if they also changed the backend during the recent frontend-update but today I encountered "failed 30" for every request I tried. Login might actually still work but every following request fails. Does anyone else encounter this problem?
Hey scherzlos,
yes, the same for me now. "Connection Error: failed 30". They must have changed something with the api.
I figured it out. You just have to replace
await self.ws.send(f"connect 21 {msg}")
with
await self.ws.send(f"connect 30 {msg}")
in api.py.
But the portfolio and portfolioAggregateHistory don't seem to work any more. Since I haven't tried them out before the update they might have been broken for longer. portfolioAggregateHistoryLight works
Maybe something like a API version number?
Hi!
I'm having the same issue.
Connection Error: failed 32
Anyone solved it?