Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error message: "Could not find resource" when execute dl_docs #173

Open
hal8thousand opened this issue Feb 2, 2025 · 1 comment
Open
Labels
bug Something isn't working

Comments

@hal8thousand
Copy link

Description of the bug
After start of the tool dl_docs run fine. Then ErrorMessages at the same point. The count of the workers has no effect. No Downloads in the choosen path.

To Reproduce
Steps to reproduce the behavior:

  1. Start pytr with "python3.12 -m pytr -v debug dl_docs --workers 1 /Users/YYYYYY/Documents/ZZZZ/_pytr"

Expected behavior
A clear and concise description of what you expected to happen.

Error log

2025-02-02 07:06:02+0100 api       DEBUG    Received message: '197 A {"id":"6ae02adf-9564-4871-9e2f-49613c4ec88b","sections":[{"title":"Du bist herzlich eingeladen, an einer Hauptversammlung teilzunehmen","data":{"icon":"logos/DE0005408686/v2","subtitleText":null,"timestamp":"2024-06-11T15:03:57.910+0000","status":"executed"},"action":null,"type":"header"},{"title":"Information","text":"Das beigefügte Dokument enthält wichtige Informationen zu deiner XXXXXX-Investition. Bitte überprüfe das Dokument.","action":null,"type":"text"},{"title":"Dokumente","data":[{"title":"Information","detail":"11.06.2024","action":{"type":"browserModal","payload":"https://traderepublic-postbox-platform-production.s3.eu-central-1.amazonaws.com/timeline/postbox/2024/6/11/9194599b/pb17181183654725324058421977143.pdf?X-Amz-Security-Token=IQoJb3JpZ2luX2VjEN7%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaDGV1LWNlbnRyYWwtMSJIMEYCIQD1VqfN0bO1CWOWsCVtUDRgMKqy91qg3JTTyo16dEDpXQIhAKF6H4UWAKfjP21A8wZrqaY3Ldu4hDq5dU3ZjIMzPawxKpwFCOf%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEQBBoMODMwMDA2NDQyMjYwIgzidcMjgPqwg%2FQLFpgq8ASD74Y%2BfZmz18B5Z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QwSFWIVbA4fl4Y%2B%2F&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20250202T060601Z&X-Amz-SignedHeaders=host&X-Amz-Expires=900&X-Amz-Credential=ASIA4CQB5HEKNBVI7UPR%2F20250202%2Feu-central-1%2Fs3%2Faws4_request&X-Amz-Signature=1c2a460dd321d6bbce6b3f22bd54c7e254ff5a594a3be22c095a4cb47e09e921"},"id":"c4da893e-3192-4ee9-b70a-beafa17ac999","postboxType":"INFORMATIVE_CA"}],"action":null,"type":"documents"},{"title":"","data":[{"title":"","detail":{"icon":"common_empty_string","action":{"type":"customerSupportChat","payload":{"contextParams":{"timelineEventId":"6ae02adf-9564-4871-9e2f-49613c4ec88b","chat_flow_key":"NHC_0029_wealth_general_question_corporate_action"},"contextCategory":"NHC"}},"style":"highlighted","type":"listItemAvatarDefault"},"style":"highlighted"}],"action":null,"type":"table"}]}'
2025-02-02 07:06:02+0100 timeline  INFO     257/258: XXXXXX -- Jährliche Hauptversammlung - 2024-06-11T15:03:57
2025-02-02 07:06:02+0100 dl        DEBUG    Added /Users/YYYYYY/Documents/ZZZZ/_pytr/Information/2024-06-11 Information - XXXXXX.pdf to queue
2025-02-02 07:06:02+0100 api       DEBUG    Received message: '197 C'
2025-02-02 07:06:02+0100 api       DEBUG    Received message: '270 E {"errors":[{"errorCode":"NOT_FOUND","errorField":null,"errorMessage":"Could not find resource","meta":{"source":"PLATFORM"}}]}'
2025-02-02 07:06:02+0100 api       ERROR    Received error message: '270 E {"errors":[{"errorCode":"NOT_FOUND","errorField":null,"errorMessage":"Could not find resource","meta":{"source":"PLATFORM"}}]}'
2025-02-02 07:06:02+0100 api       DEBUG    Unsubscribing: 270
2025-02-02 07:06:02+0100 dl        ERROR    Error response for subscription "{'type': 'timelineDetailV2', 'id': '04e72fef-7ec5-409e-8220-8e28a8175cb3'}". Re-subscribing...

<Loop>

2025-02-02 07:43:47+0100 dl        ERROR    Error response for subscription "{'type': 'timelineDetailV2', 'id': '04e72fef-7ec5-409e-8220-8e28a8175cb3'}". Re-subscribing...
2025-02-02 07:43:47+0100 api       DEBUG    Subscribing: 'sub 14314 {"type": "timelineDetailV2", "id": "04e72fef-7ec5-409e-8220-8e28a8175cb3"}'
2025-02-02 07:43:47+0100 api       DEBUG    Received message: '14314 E {"errors":[{"errorCode":"NOT_FOUND","errorField":null,"errorMessage":"Could not find resource","meta":{"source":"PLATFORM"}}]}'
2025-02-02 07:43:47+0100 api       ERROR    Received error message: '14314 E {"errors":[{"errorCode":"NOT_FOUND","errorField":null,"errorMessage":"Could not find resource","meta":{"source":"PLATFORM"}}]}'
2025-02-02 07:43:47+0100 api       DEBUG    Unsubscribing: 14314

Environment

  • OS: MacOS 15.1.1 (Intel), Python 3.12
  • pytr version: 0.3.1

Additional context
Add any other context about the problem here.

@hal8thousand hal8thousand added the bug Something isn't working label Feb 2, 2025
@Dirk-Mac-61
Copy link

Dirk-Mac-61 commented Feb 2, 2025

Hello everyone,
I have the same problem and would really like to be able to download all the PDF documents again.
Thank you for your great work on this project!
Greetings, Dirk

Environment

OS: Windows 11 / Ubuntu and Python 3.12
pytr version: 0.3.1

22:25:36 840/841: Tesla -- Wechsel - 2024-06-25T13:44:00
22:25:36 Received error message: '872 E {"errors":[{"errorCode":"NOT_FOUND","errorField":null,"errorMessage":"Could not find resource","meta":{"source":"PLATFORM"}}]}'
22:25:36 Error response for subscription "{'type': 'timelineDetailV2', 'id': '78bf5e83-d836-4d51-b644-211cfb249be5'}". Re-subscribing...
22:25:36 Received error message: '873 E {"errors":[{"errorCode":"NOT_FOUND","errorField":null,"errorMessage":"Could not find resource","meta":{"source":"PLATFORM"}}]}'
22:25:36 Error response for subscription "{'type': 'timelineDetailV2', 'id': '78bf5e83-d836-4d51-b644-211cfb249be5'}". Re-subscribing...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants