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

HTTPError '400 Client Error: Bad Request for url #47

Closed
MarcAnt1 opened this issue Oct 30, 2021 · 2 comments
Closed

HTTPError '400 Client Error: Bad Request for url #47

MarcAnt1 opened this issue Oct 30, 2021 · 2 comments

Comments

@MarcAnt1
Copy link

Hi,

I got this issue

[21:37:46] INFO: Read all configuration settings
[21:37:47] INFO: Start the amcrest2mqtt.py
30/10/2021 01:37:49 [INFO] App Version: 1.0.11
30/10/2021 01:37:49 [INFO] Fetching camera details...
30/10/2021 01:37:51 [INFO] Device type: AD110
30/10/2021 01:37:51 [INFO] Serial number: xxxxxxx
30/10/2021 01:37:51 [INFO] Software version: 1.000.00AC006.0.R
30/10/2021 01:37:51 [INFO] Device name: Doorbell
30/10/2021 01:37:51 [INFO] Writing Home Assistant discovery config...
30/10/2021 01:37:51 [INFO] Fetching storage sensors...
<Doorbell:xxxxxxxxxxx> Trying again due to error: HTTPError('400 Client Error: Bad Request for url: http://192.168.20.9:80/cgi-bin/storageDevice.cgi?action=getDeviceAllInfo')

Any idea?

@Airey001
Copy link

Do you have an SD Card in it? I don't and got that so i would assume these could be ignored.

@dchesterton
Copy link
Owner

Yeah you will get this error if you do not have an SD card. If you set STORAGE_POLL_INTERVAL to 0 it will stop checking for storage devices and you will no longer get an error.

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

3 participants