Getting error when trying to dl docs NOT_FOUND
Description of the bug When trying to dl_docs it throws a continous error without stopping
To Reproduce Downloading latest pytr and trying to dl_docs. Also tried cutting edge github version which throws the same error message.
Expected behavior finished dl_docs but a continous error is thrown:
Error log
Received error message: '885 E {"errors":[{"errorCode":"NOT_FOUND","errorField":null,"errorMessage":"Could not find resource","meta":{"source":"PLATFORM"}}]}'
Error response for subscription "{'type': 'timelineDetailV2', 'id': '1dda369b-40dd-4103-a1c7-a183558c005f'}". Re-subscribing...
Environment
- OS: [Linux Mint 22.1]
- pytr version: [e.g. 0.4.1]
- python 3.12.3
Additional context When checking the download folder nothing is downloaded at all only one file is created.
There was a time today when Trade Republic had an issue in their API. Does the issue still exist?
I just tried dl_docs and got the same problem with the latest pytr version 0.4.1
Hey, yes still the same problem. I will try with my brothers tr account today. I guess must be something on tr side which cannot be resolved or is unknown from pytr ?
There have been changes now with dl_docs. Can you please try to reproduce it with the latest version?
Yes but actually im on vacation. Will do that when im back. Thanks for helping!
I still got the same error but with a different ID in the second line
I am now also seeing countless errors like these:
16:24:50 Received error message: '7400 E {"errors":[{"errorCode":"UNKNOWN_ERROR","errorField":null,"errorMessage":"Unknown error","meta":{"source":"PLATFORM"}}]}'
16:24:50 Error response for subscription "{'type': 'timelineDetailV2', 'id': '5de9b8d1-ae18-4dfb-b01d-714d13ea1f6a'}". Re-subscribing...
I have the same error someone found a way to resolve it ?
I have the same error. For me, it always happens directly after
20:13:33 998/1532: BMW (Vz) -- Limit-Buy-Order storniert - 2020-06-12T07:01:34
(note: other transactions can take this place instead, but it's always after 998/1532)
and then just keeps alternating between these two versions:
20:13:33 Received error message: '1040 E {"errors":[{"errorCode":"NOT_FOUND","errorField":null,"errorMessage":"Could not find resource","meta":{"source":"PLATFORM"}}]}'
20:13:33 Error response for subscription "{'type': 'timelineDetailV2', 'id': '688f8359-9ba0-4a23-9cb6-548d79bdf51f'}". Re-subscribing...
20:13:33 Received error message: '1041 E {"errors":[{"errorCode":"NOT_FOUND","errorField":null,"errorMessage":"Could not find resource","meta":{"source":"PLATFORM"}}]}'
20:13:33 Error response for subscription "{'type': 'timelineDetailV2', 'id': '19f46117-50a2-4aa9-8415-08010686899e'}". Re-subscribing...
With the latest changes, this error should be gone. Please let me know if otherwise.
I am now getting a slightly different error.
15:53:15 5999/8242: Realty Income -- Dividende - 2022-07-21T23:57:04
15:53:15 no subfolder mapping for Realty Income Dividende
15:53:15 Received error message: '6277 E {"errors":[{"errorCode":"UNKNOWN_ERROR","errorField":null,"errorMessage":"Unknown error","meta":{"source":"MAPPER"}}]}'
15:53:15 Error response for subscription "{'type': 'timelineDetailV2', 'id': 'bd64dcc9-be90-4392-a207-77596b08e8c2'}".
15:53:15 Errorcount for subscription bd64dcc9-be90-4392-a207-77596b08e8c2 is 1".
15:53:15 Error count for subscription bd64dcc9-be90-4392-a207-77596b08e8c2 is 1". Re-subscribing...
15:53:15 Received error message: '6278 E {"errors":[{"errorCode":"UNKNOWN_ERROR","errorField":null,"errorMessage":"Unknown error","meta":{"source":"MAPPER"}}]}'
15:53:15 Error response for subscription "{'type': 'timelineDetailV2', 'id': 'bd64dcc9-be90-4392-a207-77596b08e8c2'}".
15:53:15 Errorcount for subscription bd64dcc9-be90-4392-a207-77596b08e8c2 is 2".
15:53:15 Error count for subscription bd64dcc9-be90-4392-a207-77596b08e8c2 is 2". Re-subscribing...
15:53:15 Received error message: '6279 E {"errors":[{"errorCode":"UNKNOWN_ERROR","errorField":null,"errorMessage":"Unknown error","meta":{"source":"MAPPER"}}]}'
15:53:15 Error response for subscription "{'type': 'timelineDetailV2', 'id': 'bd64dcc9-be90-4392-a207-77596b08e8c2'}".
15:53:15 Errorcount for subscription bd64dcc9-be90-4392-a207-77596b08e8c2 is 3".
15:53:15 Error count for subscription bd64dcc9-be90-4392-a207-77596b08e8c2 is 3". Continuing with failure...
My Dockerfile looks like and I guess it pulls the latest pytr version?
RUN python3 -m venv /app &&\
/app/bin/pip install pytr websockets
OK, at least I think you don't run in an endless loop any more, right?
It seems that you have an event in your timeline that permanently throws an error. Probably nothing the pytr app can do about...
OK, at least I think you don't run in an endless loop any more, right?
It seems that you have an event in your timeline that permanently throws an error. Probably nothing the pytr app can do about...
Correct, no loop anymore.
The error basically changed from:
{"errors":[{"errorCode":"UNKNOWN_ERROR","errorField":null,"errorMessage":"Unknown error","meta":{"source":"PLATFORM"}}]}
to:
{"errors":[{"errorCode":"UNKNOWN_ERROR","errorField":null,"errorMessage":"Unknown error","meta":{"source":"MAPPER"}}]}
So how come you say:
Probably nothing the pytr app can do about.