Cant use pages/{page_id} endpoint

I have made a page that calls the pages/{page_id}/leads endpoint and works fine but if I try to just call the pages/{page_id} endpoint it gives me a 500 error. I am trying to get the conversions from a page vs the count of leads since there are dups in the count.

Any ideas?

const baseURL = "";

function App() {
  const [res, setRes] = React.useState(null);

  React.useEffect(() => {
    const apiKey = "REDACTED";
    const config = {
      auth: {
        username: apiKey,
        password: '',
    axios.get(baseURL, config).then((response) => {
  }, []);

using the leads end point works fine no issues