blog post

Error on Looker Studio : Cannot read property of undefined (readin 'endDate')

Johan Chemin
October 10, 2023
Error on Looker Studio : Cannot read property of undefined (readin 'endDate')

Quick steps to create a report with Google Sheets:

You can easiliy create a report following this step :

  1. Get informations from the data integration from our connector.
  2. Create a source on catchr.io.
  3. Download our Google Sheets extensions.
  4. Configure and run your request
If you need more informations, you can follow the tutorial.

How to install Google Sheets Catchr Add-on.

To start exporting your data to Google Sheets, you need to install the Catchr add-on. You currently have two options :

Option A: Via the marketplace:

  1. Visit the Catchr Add-on page on the Google Workspace Marketplace and click "Install."
  2. Grant the necessary permissions for the add-on.
  3. Upon successful installation, open a Google Sheets to proceed.
Connect Google Sheet to Facebook Ads
Install Catchr Google Sheets Add-on

Option B: Directly within a Google Sheets:

  1. Open a new Google Sheets.
  2. In the top menu, click "Extensions", then hover over "Add-ons" and select "Get add-ons."
  3. Search for "Catchr" and choose "Catchr - data connector."
  4. Click "Install" and grant the required permissions.
  5. Close the installation pop-up when completed.
  6. Start using the Catchr add-on.
Install Catchr Add-on for Google Sheets
Install Catchr Add-on for Google Sheets

Once you have installed the add-on, you can start making requests.

The tutorial

Quick steps to create a report with Looker Studio:

You can easiliy create a report following this step :

  1. Get informations from the data integration from our connector.
  2. Create a datasource and new report on Looker Studio.
  3. Choose your metrics and dimensions.
  4. Use charts with your metrics and dimensions.
If you need more informations, you can follow the tutorial. You can also find a template for at the end of the page.

The tutorial

Quick steps to create a report with PowerBI:

You can easiliy create a report following this step :

  1. Get informations from the data integration from our connector.
  2. Create a source on catchr.io.
  3. Configure your request on the PowerBI request manager.
  4. Copy the given URL in PowerBI
If you need more informations, you can follow the tutorial. You can also find a template for at the end of the page.

The tutorial

What is the error: Cannot read property of undefined (readin 'endDate').

In Looker Studio, all data sources with historicized data have a date field of reference.

Looker Studio uses this to filter your data by date without you telling him how to. But sometimes, you'll find your report full of errors, and the details give you this :

"Cannot read property of undefined (readin 'endDate')."

It is the way for Looker Studio to let you know that the date fields of reference have been lost.

Your data source is, therefore, only usable once fixed.

How to identify this issue?

In addition to the error message, one significant difference is visible in your report: in the configuration column of each chart, Looker Studio now asks for a date field just under the data source :

Date field only visible during the error.

Normal configuration column without the date field.

How to solve it?

The best way to solve this is to deactivate and then reactivate the edition of the field for editors.

To do so:

  • Open the data source by going to Resource -> Manage Added Data Source.
  • Click the Edit button on the good row.
  • Locate the Field editing in reports at the top right and click on it.
  • Close the overlay and refresh your report. At this point, your data should start to come back.
  • Reactivate the Field edition in reports by following the same steps.

Deactivate fields editing settings
Deactivate fields editing settings

Reactivate fields editing settings
Reactivate fields editing settings

Note: 

  • Sometimes the data doesn't come back the first time of trying. You can reactivate and deactivate the field edition in reports one more time.
  • Sometimes reactivating the field edition in reports make the error appears again. You can leave it off. It only prevents report editors from modifying the fields in the data source.

If it still not works, the best way to retrieve your report quickly is to duplicate your broken data source. 

The new copy will not have this issue, and you can update the data source in your report charts easily :

  • Right-click on a component, then Select, Select Charts with the same data source on Page
  • In the configuration column, you can now mass edit the data source of your component.

If you duplicate the previous data sources, all your calculated fields are also copied. When you change the data source, Looker Studio will find it automatically, and you won't have to do your report again!

No items found.

In this template, you will find all the metrics and dimensions you would need to get a better view of your data.

If you need more templates, you could look at our looker studio template gallery.

No items found.

In this template, you will find all the metrics and dimensions you would need to get a better view of your data thank to our integrations.

If you need more templates, you could look at our PowerBI template gallery.

Unlock Insights with Style!

Transform your marketing data into stunning dashboards.

Integrate, visualize, and impress with Catchr's seamless dashboards. Elevate your data game now!
Build your first report
14 days free-trial - No credit card required 🎉

More blog post about

No items found.