-
Notifications
You must be signed in to change notification settings - Fork 13
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
All requests are crashing #11
Comments
Same here. It seems that the version of the user agent is checked, and the one embedded in this Python package is too old. |
Change user-agent to avoid error 400 (issue #11)
@baptistesola2 I think it's okay now. Could you please upgrade to v0.1.1 and test it?
Waiting for you reply to close the issue. |
I still have the error 400 using pip module. |
Hi |
Hi @tducret . Yes both the package and the docker image are working for me now ! |
@py29 and @antoinevth Could you make sure that you have version |
Yes I did the update :
|
Hi, |
Hi, But since the 27/11/2019, my API calls are once again being rejected.
As you said @yann120 , Trainline changed their API. I'll try to dig this issue later, I'll come back here if I find something helpful 😄 |
Hi, Here is a quick recap of the changes :
NEW API
3 things changed :
I hope it can help ... |
how can we get |
I just tried again today. I don't have the 400 error any more. |
This issue is solved. It should be closed. |
Description
All requests return the same error:
requests.exceptions.ConnectionError: Status code 400 for url https://www.trainline.eu/api/v5_1/search
{"error":{"code":"no_results","message":{}}}
What I Did
It used to work very well, but for the last few days, no requests I've tried have seem to work.
I tried to use both the trainline_cli.py file and the Docker Image (downloaded today November 24th)
The text was updated successfully, but these errors were encountered: