pytr dl_docs is throwing error and cannot complete
See original GitHub issueI tried running pytr today again to download my latest documents but I repeatedly get the following error message:
Received error message: '27 E {"errors":[{"errorCode":"UNKNOWN_ERROR","errorField":null,"errorMessage":"Unknown error","meta":{"source":"PLATFORM"}}]}'
Traceback (most recent call last):
File "/home/alex/.local/bin/pytr", line 8, in <module>
sys.exit(main())
File "/home/alex/.local/lib/python3.8/site-packages/pytr/main.py", line 135, in main
asyncio.get_event_loop().run_until_complete(dl.dl_loop())
File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "/home/alex/.local/lib/python3.8/site-packages/pytr/dl.py", line 28, in dl_loop
_subscription_id, subscription, response = await self.tr.recv()
File "/home/alex/.local/lib/python3.8/site-packages/pytr/api.py", line 246, in recv
raise TradeRepublicError(subscription_id, subscription, payload)
pytr.api.TradeRepublicError: ('27', {'type': 'timelineDetail', 'id': '97ab309c-3101-45da-98f7-36d92172e041'}, {'errors': [{'errorCode': 'UNKNOWN_ERROR', 'errorField': None, 'errorMessage': 'Unknown error', 'meta': {'source': 'PLATFORM'}}]})
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Error "Tableau Server cannot complete the operation because ...
Tableau Server cannot complete the operation because the repository is not available. Wait a few minutes and then try to publish again. "org....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It is not the user agent header but I updated it anyway. I published a new version which will not fail at this error but it is not really fixed yet. With the new version it is also possible to modify the filenames (see
pytr dl_docs -h
) Closed for now (reopen if there are still problems)Thanks a lot! I just tested it and so far the download worked like a charm.