PiHole stats Unavailable?

Curious why the stats are showing unavailable. I just added the config and it sees the sensors but no data. It appears I cant get an API key unless I set a password? Is it needed or no?
local b7900ec6df83


How did you solve it?

Had to use the IP. Using localhost didn’t seem to work.