-
Notifications
You must be signed in to change notification settings - Fork 51
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
400 Bad Request #20
Comments
We see the same issue here. If you print out response.status and response.reason, it shows that 400 Bad Request. This seems mean the incorrect header/data is posted to server. |
Odd stuff! What OS are you on @davesenior9 and @EbonyHuang ? I'll have to spin up my macOS dockers to see if I can reproduce. Do both the |
For both BigSur and Monterey OS, the request_report.py has the same failure. It all works couple days ago. Thank you. |
Looks like it is the https body(search) contain the single quote ' in the "ids" list, when we replace that single quote to be double ". It seems work again. |
awesome work. thats fixed it for me. I would be interested to know what caused this. Some sort of change on the Apple gateway? |
Well done @EbonyHuang ! The |
Reopening because this definitely needs the fix by @EbonyHuang |
got the same issue,
before had to replace six with flask. |
@mrx23dot the fix is already given in #20 (comment), I just need to push that to the repo. In the meantime you can just add that in your clone. |
This should be fixed now in both the catalina and monterey branches. Also main of course but that is undergoing major overhaul at the moment, to abolish the requirement of a mac altogether. |
Have you encountered this before? I have automated the polling of this script, and had it running for a few days. It abruptly stopped and generated this error. Restarting the script made no change. If i go back to vanilla OHS and use the GUI, it updates fine.
Thanks!
Additional Info drawn from response headers.
The text was updated successfully, but these errors were encountered: