If you get this error, first check the metrics server's status with . Make sure your setup lets you access the metrics API. You might need to look at the server logs or check permissions.