Use API url with Token, this change is based on the recommendation posted here. Pihole must be password protected and 3rd party apps must use a token.
Not using the token will return an empty response object that triggers the error failed to retrieve status: check provided api URL and token json: cannot unmarshal array into Go value of type pihole.Status
Using the correct token will allow the response to include the correct status Status ENABLED
Use API url with Token, this change is based on the recommendation posted here. Pihole must be password protected and 3rd party apps must use a token.
Not using the token will return an empty response object that triggers the error
failed to retrieve status: check provided api URL and token json: cannot unmarshal array into Go value of type pihole.Status
Using the correct token will allow the response to include the correct status
Status ENABLED
eg:
Verification: