Looker Studio Connector only recognizes dimensions?

Hi,

I made a custom Looker Studio Connector that pulls from some internal metrics. Even when I return the getSchema() data as follows (see below) looker seems to pull in everything as a dimension.

71d14b5c-5588-4556-89e2-38dbf4445a17.png

I’m wondering:

  1. Is this a problem?
  2. Is this connected to my other problem that when trying to view the data I get an meaningless error (see following screenshot) and my getData() method is never called? Does looker skip calling getData() if there are no metrics defined?
4f127aaa-c2e4-4c12-92e1-4ed1f6e24b99.png

{

  "schema": [

    {

      "dataType": "STRING",

      "description": "A unique path to just one metric.",

      "id": "MetricKey",

      "name": "Metric Key",

      "semantics": {

        "conceptType": "DIMENSION",

        "defaultAggregationType": "NONE",

        "reaggregatable": false,

        "semanticType": "TEXT"

      }

    },

    {

      "dataType": "STRING",

      "description": "Budget Plan, Forecast, Actual or Projected.",

      "id": "FiscalSet",

      "name": "Fiscal Set",

      "semantics": {

        "conceptType": "DIMENSION",

        "defaultAggregationType": "NONE",

        "reaggregatable": false,

        "semanticType": "TEXT"

      }

    },

    {

      "dataType": "STRING",

      "description": "",

      "id": "MetricPeriod.Day",

      "name": "Period Day",

      "semantics": {

        "conceptType": "DIMENSION",

        "defaultAggregationType": "NONE",

        "group": "DATE_OR_TIME",

        "reaggregatable": false,

        "semanticType": "YEAR_MONTH_DAY"

      }

    },

    {

      "dataType": "STRING",

      "description": "",

      "id": "MetricPeriod.Month",

      "name": "Period Month",

      "semantics": {

        "conceptType": "DIMENSION",

        "defaultAggregationType": "NONE",

        "group": "DATE_OR_TIME",

        "reaggregatable": false,

        "semanticType": "YEAR_MONTH"

      }

    },

    {

      "dataType": "STRING",

      "description": "",

      "id": "Only.Year",

      "name": "Only Year",

      "semantics": {

        "conceptType": "DIMENSION",

        "defaultAggregationType": "NONE",

        "group": "DATE_OR_TIME",

        "reaggregatable": false,

        "semanticType": "YEAR"

      }

    },

    {

      "dataType": "STRING",

      "description": "",

      "id": "Only.Month",

      "name": "Only Monthly",

      "semantics": {

        "conceptType": "DIMENSION",

        "defaultAggregationType": "NONE",

        "group": "DATE_OR_TIME",

        "reaggregatable": false,

        "semanticType": "MONTH"

      }

    },

    {

      "dataType": "NUMBER",

      "description": "",

      "id": "Value_Integer",

      "name": "Value (Number)",

      "semantics": {

        "conceptType": "METRIC",

        "group": "NUMERIC",

        "semanticType": "NUMBER"

      }

    },

    {

      "dataType": "NUMBER",

      "description": "",

      "id": "Value_Integer",

      "name": "Value (Integer)",

      "semantics": {

        "conceptType": "METRIC",

        "group": "NUMERIC",

        "semanticType": "NUMBER"

      }

    }

  ]

}

0 4 1,240