pytr-org / pytr

Use TradeRepublic in terminal and mass download all documents
https://pypi.org/project/pytr/
MIT License
390 stars 71 forks source link

Bad Request Messages #34

Closed bc-bjoern closed 10 months ago

bc-bjoern commented 1 year ago

I'm not sure what it is. But I get multiple Bad Request Messages

To Reproduce

  1. pytr dl_docs .

Error log

2023-02-14 23:37:01+0100 utils     INFO     376/405: Siltronic -- Sparplan
2023-02-14 23:37:01+0100 dl        DEBUG    File Sparplan/Löschbestätigung/2023-02-06 Siltronic.pdf already in queue. Skipping...
2023-02-14 23:37:01+0100 dl        DEBUG    File Sparplan/Abrechnung Ausführung/2023-02-02 Siltronic 2.pdf already in queue. Skipping...
2023-02-14 23:37:01+0100 dl        DEBUG    File Sparplan/Abrechnung Ausführung/2023-01-02 Siltronic 1.pdf already in queue. Skipping...
2023-02-14 23:37:01+0100 dl        DEBUG    File Sparplan/Kosteninformation/2022-12-17 Siltronic.pdf already in queue. Skipping...
2023-02-14 23:37:01+0100 dl        DEBUG    File Sparplan/Auftragsbestätigung/2022-12-17 Siltronic.pdf already in queue. Skipping...
2023-02-14 23:37:01+0100 api       DEBUG    Received message: '390 C'
2023-02-14 23:37:01+0100 api       DEBUG    Received message: '393 E {"errors":[{"errorCode":"BAD_REQUEST","errorField":null,"errorMessage":"Bad Request","meta":{"source":"PLATFORM"}}]}'
2023-02-14 23:37:01+0100 api       ERROR    Received error message: '393 E {"errors":[{"errorCode":"BAD_REQUEST","errorField":null,"errorMessage":"Bad Request","meta":{"source":"PLATFORM"}}]}'
2023-02-14 23:37:01+0100 api       DEBUG    Unsubscribing: 393
2023-02-14 23:37:01+0100 dl        CRITICAL ('393', {'type': 'timelineDetail', 'id': '8772498d5-35c0-4d84-9774-5665e8dd1254'}, {'errors': [{'errorCode': 'BAD_REQUEST', 'errorField': None, 'errorMessage': 'Bad Request', 'meta': {'source': 'PLATFORM'}}]})
2023-02-14 23:37:01+0100 utils     INFO     377/405: Siltronic -- Sparplan

Environment

hansgans007 commented 1 year ago

have the same on windows. OS doesnt matter

somebody-somewhere-over-the-rainbow commented 1 year ago

can confirm the issue (Ubuntu 22.04)

hansgans007 commented 1 year ago

all errors gone maybe TR was the error :D

Akaame commented 10 months ago

@bc-bjoern if you cannot reproduce the issue with the version 0.1.9, can you close it?

bc-bjoern commented 10 months ago

Unfortunately I havn't a account anymore. From the comments below I guess it's solved.