Prometheus API returns HTML instead of JSON

hello. help. when i add remote computer in the graphana - i have this error.
in prometheus itself, all data is received correctly - there is no error.
also, the localhost address in the graphana works correctly

ReadObject: expect { or , or } or n, but found <, error found in #1 byte of …|<html lang=|…, bigger context …| <meta charset=“UTF-8”|… - There was an error returned querying the Prometheus API.

That looks like you are not connecting to the right endpoint/API.