Zarathustra2 / TradeRepublicApi

Unofficial trade republic API
MIT License
277 stars 68 forks source link

After App update requests fail with "failed 30" #32

Open scherzlos opened 11 months ago

scherzlos commented 11 months ago

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?

m1-development commented 11 months ago

Hey scherzlos,

yes, the same for me now. "Connection Error: failed 30". They must have changed something with the api.

scherzlos commented 10 months ago

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

m1-development commented 10 months ago

Maybe something like a API version number?