Google Sheet API Connector not working – Bug Report

5

As per Igor’s suggestion to report bug here (From Facebook page):

I’m having trouble getting the Connect Google Sheets feature working and would really appreciate some guidance.

I’m following the > tutorial video and have recreated the Google Sheet exactly as shown. I’ve tested the connection, and the data matches the video.

However, when I try to assign the dynamic data to a text element (a Div Text element, as shown in the tutorial), I don’t see any of the available fields to map. Instead, I only see “Select Repeater Field” followed by a list of numbers. Clicking on these numbers returns what appears to be random letters, and I can’t work out how to select the specific fields from my spreadsheet.

I’ve also read through the API Connectors documentation, but the Google Sheets section only provides a brief explanation, and I haven’t been able to find any further documentation explaining how to map individual fields.

I really need to get this working for a client website, so any help would be greatly appreciated.

Thank you!

paulluxford

⏱

Replies

Responses

  1. support_angel Avatar
    support_angel
    Support

    Thanks for reporting it here. We reproduced it, and it was a bug on our side, not in your sheet or setup.

    What was happening: the Test API Request button runs in your browser while you are logged in, so it showed the correct data. The real repeater request runs on the server, and since a security update the CSV / Google Sheet converter only answers logged-in editors. The server request was rejected with a rest_forbidden error, and that error text was then used as data. The numbers you saw were the character positions of the text “rest_forbidden”, which is why clicking them gave single letters.

    Fixed in Greenshift Query and Meta Addon 5.9.9.2. The sheet is now converted directly on the server, and error responses are never used as rows. We confirmed it on our test site with a public Google Sheet: the repeater gets one row per sheet row, with the first row as field names (for example “Student Name”, “Gender”), so your column names will appear in the field list. GreenShift 13.2.3 has the same fix for charts that load data from a CSV / Google Sheet link.

    After updating: if you enabled cache for this API request, the cached error stays until the cache time expires. Turn the cache off for a moment (or wait until it expires) and the data will load.

    1. paulluxford Avatar
      paulluxford
      Member

      Hi @support_angel

      Thank you for the reply and for confirming it was a bug and that you have a fix.

      Where can I get Greenshift Query and Meta Addon 5.9.9.2. The versions has not been updated on my downloads (it is still 5.9.9.1) and the update has not been pushed through to the dashboard plugin update.

      Thanks again, I look forward to testing it all out.

  2. paulluxford Avatar
    paulluxford
    Member

    Hi @support_angel

    Thank you for the reply and for confirming it was a bug and that you have a fix.

    Where can I get Greenshift Query and Meta Addon 5.9.9.2. The versions has not been updated on my downloads (it is still 5.9.9.1) and the update has not been pushed through to the dashboard plugin update.

    Thanks again, I look forward to testing it all out.

  3. support_angel Avatar
    support_angel
    Support

    Sorry for the wait, Greenshift Query and Meta Addon 5.9.9.2 is now available in your downloads and as a dashboard update.

    1. paulluxford Avatar
      paulluxford
      Member

      Excellent, thank you so much. I have tested and it all seems to work correctly now.

About the Author