Hello all wpDataTables users!

Google changed their API, and almost all tables created in Creating Tables in WordPress from Google Spreadsheets are affected.

The issue is displayed either as a “Table in the data source has no rows” error when trying to create a new table, or “No data available in the table” in an existing table.

There is a temporary workaround for the issue until we resolve it for good.

What you need to do in your Google sheet is to share this sheet with everyone.

When you visit your already published sheet, click on the “Share” button in the top right corner of your sheet:

On the modal that pops up, click on “Change to anyone with link text“:

After that, your tables will show up again like ours did in our documentation on this link.

Sorry for the inconvenience, and thank you for your patience!

This issue can occur for several reasons:

  1. You’ve copied the URL from the “Publish to the web” modal that pops up when you publish the spreadsheet:These links are recognized easily because they all contain “2PACX”:After the spreadsheet is published, just close that modal window that opens up, and copy the URL from the browser’s address bar and paste it into wpDataTables corresponding URL field when creating a table linked to an existing Google Spreadsheet file:
  2. You don’t have ZipArchive installed on your server, or you’re using an older version of ZipArchive. Please reach out to your hosting provider and ask them to either install or update the ZipArchive.
  3. The data in the Google Spreadsheet file is not structured correctly. Please remember that wpDataTables cannot import tables from other sources that contain merged cells; sub-headers; multiple empty rows below the first row. Also, keep in mind that the first row in your Google Spreadsheet file needs to contain column headers and that all data should be entered in columns below those headers.
  4. Applying any formatting in the file, like custom collation, Google Spreadsheet formulas, IMPORTRANGE functions, custom colors, etc. may cause an issue like this.
  5. If the Google account from which you’ve created the Spreadsheet is a part of a business (G-Suite), publishing may be allowed, but due to security measures it is not visible (accessible) from wpDataTables.

You can find more details in our documentation about Creating Tables in WordPress from Google Spreadsheets

Was this answer helpful ? Yes (16) No (269)

Comments are closed.

Do you have the best

essential plugins installed?

Grab the best 46 plugins. Tested and sorted.

Plugins for SEO, Caching, Security, Design and UX, Stats & analytics, Social sharing. Only the best ones.

By clicking "subscribe" you consent that the information you provide via this form will be securely processed and stored in compliance with EU privacy laws (GDPR).

Thank you for subscribing! Please check your inbox to download the WordPress goodies.