pytr icon indicating copy to clipboard operation
pytr copied to clipboard

Getting error when trying to dl docs NOT_FOUND

Open SoulInfernoDE opened this issue 8 months ago • 9 comments

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.

SoulInfernoDE avatar Apr 16 '25 18:04 SoulInfernoDE

There was a time today when Trade Republic had an issue in their API. Does the issue still exist?

RealCLanger avatar Apr 16 '25 19:04 RealCLanger

I just tried dl_docs and got the same problem with the latest pytr version 0.4.1

Blubberi avatar Apr 17 '25 15:04 Blubberi

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 ?

SoulInfernoDE avatar Apr 18 '25 07:04 SoulInfernoDE

There have been changes now with dl_docs. Can you please try to reproduce it with the latest version?

RealCLanger avatar Apr 30 '25 19:04 RealCLanger

Yes but actually im on vacation. Will do that when im back. Thanks for helping!

SoulInfernoDE avatar Apr 30 '25 21:04 SoulInfernoDE

I still got the same error but with a different ID in the second line

alex19933 avatar May 04 '25 12:05 alex19933

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...

ovizii avatar May 22 '25 16:05 ovizii

I have the same error someone found a way to resolve it ?

Felar59 avatar Sep 13 '25 13:09 Felar59

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...

JBH168 avatar Sep 17 '25 18:09 JBH168

With the latest changes, this error should be gone. Please let me know if otherwise.

RealCLanger avatar Dec 05 '25 15:12 RealCLanger

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 

ovizii avatar Dec 05 '25 15:12 ovizii

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...

RealCLanger avatar Dec 06 '25 08:12 RealCLanger

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.

ovizii avatar Dec 06 '25 22:12 ovizii