Google Docs: "Ranges corrupt" error

  • I am using Chrome. I have now updated to version 5.0.207 and my Zotero still does not work. I hope you are able to help :)
  • @mariemallew: Make sure you’ve reloaded Google Docs. If you’re still having trouble, provide a Debug ID from the Zotero Connector for reloading the page and reproducing the problem.
  • edited today at 2:40pm
    I have reloaded Google Docs many times. I have tried to provide a Debug ID below. Please let me know if this is not what you meant. However "Body is 47967 characters too long"
    ID = D1100696304.

    Info: Service worker starts: 2026-05-26 14:03:55 2026-05-26 14:17:32 2026-05-26 14:43:51 2026-05-26 14:56:42 2026-05-26 16:16:47

    [JavaScript Error: "Error: Ranges corrupt on Z_FT6dUsX000.
    ["Z_FT6dUsX000ITEM CSL_CITATION {\"citationID\":\"FWAOcQnQ\",\"properties\":{\"unsorted\":false,\"formattedCitation\":\"Lotterup Anders & Korfits Nielsen Kristian: Databeskyttelsesforordningen og databeskyttelsesloven - med kommentarer. (2025) s. 649\",\"plai","Z_FT6dUsX000ITEM CSL_CITATION {\"citationID\":\"FWAOcQnQ\",\"properties\":{\"unsorted\":false,\"formattedCitation\":\"Lotterup Anders & Korfits Nielsen Kristian: Databeskyttelsesforordningen og databeskyttelsesloven - med kommentarer. (2025) s. 649\",\"plai","Z_FT6dUsX001nCitation\":\"Lotterup Anders & Korfits Nielsen Kristian: Databeskyttelsesforordningen og databeskyttelsesloven - med kommentarer. (2025) s. 649\",\"noteIndex\":52},\"citationItems\":[{\"id\":141,\"uris\":[\"http://zotero.org/groups/6393447/items/NA6UF9Q3","Z_FT6dUsX001nCitation\":\"Lotterup Anders & Korfits Nielsen Kristian: Databeskyttelsesforordningen og databeskyttelsesloven - med kommentarer. (2025) s. 649\",\"noteIndex\":52},\"citationItems\":[{\"id\":142,\"uris\":[\"http://zotero.org/groups/6393447/items/NA6UF9Q3","Z_FT6dUsX002\"],\"itemData\":{\"id\":141,\"type\":\"book\",\"call-number\":\"KUB-2025-563\",\"edition\":\"2. udgave.\",\"ISBN\":\"978-87-574-5527-4\",\"language\":\"dan\",\"publisher\":\"Djøf\",\"publisher-place\":\"Kbh\",\"source\":\"soeg.kb.dk\",\"title\":\"Databeskyttelsesforordningen og dat","Z_FT6dUsX002\"],\"itemData\":{\"id\":142,\"type\":\"book\",\"call-number\":\"KUB-2025-563\",\"edition\":\"2. udgave.\",\"ISBN\":\"978-87-574-5527-4\",\"language\":\"dan\",\"publisher\":\"Djøf\",\"publisher-place\":\"Kbh\",\"source\":\"soeg.kb.dk\",\"title\":\"Databeskyttelsesforordningen og dat","Z_FT6dUsX003abeskyttelsesloven - med kommentarer.\",\"author\":[{\"literal\":\"Lotterup Anders\"},{\"literal\":\"Korfits Nielsen Kristian\"}],\"issued\":{\"date-parts\":[[\"2025\"]]}},\"locator\":\"649\",\"label\":\"page\"}]}","Z_FT6dUsX003abeskyttelsesloven - med kommentarer.\",\"author\":[{\"literal\":\"Lotterup Anders\"},{\"literal\":\"Korfits Nielsen Kristian\"}],\"issued\":{\"date-parts\":[[\"2025\"]]}},\"locator\":\"649\",\"label\":\"page\"}]}"]
    at Document.decodeRanges (chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/zotero-google-docs-integration/document.js:765:11)
    at new Zotero.GoogleDocs.Field (chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/zotero-google-docs-integration/document.js:827:44)
    at chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/zotero-google-docs-integration/document.js:325:15
    at Array.forEach ()
    at Document.getFields (chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/zotero-google-docs-integration/document.js:319:48)
    at Zotero.GoogleDocs.ClientV2.Zotero.GoogleDocs.Client.getFields (chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/zotero-google-docs-integration/client.js:185:16)
    at async Zotero.GoogleDocs.ClientV2.Zotero.GoogleDocs.Client.cursorInField (chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/zotero-google-docs-integration/client.js:254:16)
    at async Zotero.GoogleDocs.ClientV2.Zotero.GoogleDocs.Client.call (chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/zotero-google-docs-integration/client.js:67:13)" {file: "[object Object]"}]
  • dstillman Zotero Team
    That's a different issue, so moving this to a new thread.

    The last step of the troubleshooting steps linked from the error message would have let you isolate the problem in the document, but you can also see the corrupted citation in the error message above. You'll likely need to delete that citation completely and reinsert it.
  • Now we have deleted the specific footnote. But Zotero still doesn't work. Our document is 96 pages and has 301 footnotes in total.
  • dstillman Zotero Team
    Again, you'll need to follow the last step of the troubleshooting steps to isolate any broken parts of the document. You can also send us an excerpt that reproduces the problem, as explained there. And we'd need a Report ID in all cases. We can't do anything with "doesn't work".
  • edited 3 hours ago
    Hi again. We have tried to isolate any broken parts of the document by making a copy of the document and deleting smaller sections at a time. But we still have not been able to make our main document work.

    We have an Report ID here: 712324115.

    We hope you are able see the errors from the report ID.

    The Zotero in our document just stopped working yesterday, and we have tried everything we could think of in the last 24 hours.

    I hope you can help us. Please let me know if you need more information.
  • dstillman Zotero Team
    Unless you can clear the document completely and still reproduce the problem, you haven't fully followed the steps there to isolate the problematic sections.

    If you're having trouble with that, you should share an excerpt with us, as explained on the page.
Sign In or Register to comment.