Skip to main content
Matik Help Center home page Help Center
Matik Blog Case Studies
  1. Matik
  2. FAQ and Troubleshooting
  3. Common Errors

Error: TooManyRowsForChartError: There was an error populating the chart for <Dynamic Content Name>...

This article is related to the following error message:

  • TooManyRowsForChartError: There was an error populating the chart for <Dynamic Content Name>: x rows were returned by the query but there are only y rows in the spreadsheet powering the chart

                                          mceclip0.png

This error occurs when the dynamic content powering a chart returns more rows than the chart in your template is configured to handle.

 

Consider the following chart in a Google Sheets template in Matik:mceclip1.png

Click into "Open source" in the top right dropdown on the chart to open the source chart's Google Sheet.

mceclip3.png

Click again into the dropdown in the upper right of the chart on the Google Sheet, to access the "Edit Chart" menu. 

The chart above has a Data range of A1:E5 in the Google Sheet. This is fine as long as the Dynamic Content tagged to the chart returns 4 or fewer rows of data. If the Dynamic Content tagged to the chart returns more than 4 rows of data, this error will be returned.

To resolve, increase the Data Range to the maximum number of rows you expect your data to return. The other ranges in the chart editor, such as "Y-axis" and "Label" should update accordingly.

Was this article helpful?

Have more questions? Submit a request

Related articles

  • How do I change order of inputs an end user sees?
  • Error: There was an error updating the chart. Google returned 400: Requested writing within range (Cell Range), but tried writing to column(column letter)
  • My Google Slides add-on won't tag slide objects
  • Building Templates Videos
  • My Google add-on isn't loading

Articles in this section

  • How to view presentation generation errors
  • Error: TooManyRowsForChartError: There was an error populating the chart for <Dynamic Content Name>...
  • Error: There was an error updating the chart. Google returned 400: Requested writing within range (Cell Range), but tried writing to column(column letter)
  • Error: (Comparison Operator) not supported between instances of (type) and (type)
  • Error: Comparing None value: (logical comparison)
  • Error: Google had an internal error when copying a presentation to your Google Drive
  • Error: We couldn't check for the existence of the Custom Matik Presentations folder in your drive. Have you connected to Google?
  • Error: Divide by zero
  • Warning: Generated with errors: Column does not exist in return value

Comments

0 comments

Please sign in to leave a comment.

Personalize data-driven content in minutes

Product

  • How it Works
  • Security

Solutions

  • Sales
  • Customer Success
  • Ops & Strategy
  • Data

Resources

  • Blog
  • Case Studies
  • Help Center

Company

  • About Us
  • Careers
  • Terms of Service
  • Privacy Policy

© 2022 Matik, Inc.