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

Handling 500 responses #6

Open
sannremy opened this issue Oct 1, 2020 · 1 comment
Open

Handling 500 responses #6

sannremy opened this issue Oct 1, 2020 · 1 comment

Comments

@sannremy
Copy link

sannremy commented Oct 1, 2020

Hi @ooii

Thanks for this library, super useful! Actually found it through Home Assistant integrations :)

I got an error when trying to pull my data: Oct. 1st, no data yet. I've added debug lines and it looks like Suez's website returns a 500 when there is no data to show.
It ends the process to return data of previous months.

$ pysuez -u EMAIL -p PASSWORD -c ID

Request URL: https://www.toutsurmoneau.fr/mon-compte-en-ligne/statJData/2020/10/ID
Response HTTP code: <Response [500]>

Issue with this month data

I know it's a bug on Suez's website, but I think the library should handle those error cases.
Happy to help and to create a PR! :)

Cheers!

@ooii
Copy link
Owner

ooii commented Oct 30, 2023

Guys,
I'm sorry for not responding to these issues. I was very busy with other stuff and, to be honest, the integration was not satisfactory for me, so I stopped using it (and looking to this repo). I got some complaints recently and decided to give a look and discovered all these issues.
I'll try to bring a new and better integration that takes into consideration all the issues and sub-providers, and I'll try to make it doable from the UI. Please, be patient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants