# getCSV output nothing

**URL:** <https://discourse.gohugo.io/t/getcsv-output-nothing/32052>\
**Category:** support\
**Created:** [March 30, 2021, 5:06am UTC](https://discourse.gohugo.io/t/getcsv-output-nothing/32052 "2021-03-30T05:06:49Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![tsq456](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/tsq456/32/13999_2.png) [@tsq456](https://discourse.gohugo.io/u/tsq456)\
**Post date:** [March 30, 2021, 1:10pm UTC](https://discourse.gohugo.io/t/getcsv-output-nothing/32052/7 "2021-03-30T13:10:23Z")

</div>

Thanks a lot! I removed the {{range}} part, and it output the right result with local csv file now.

but when I use the google spreadsheet csv url, console remind me the infomation below.

> ERROR 2021/03/30 21:05:28 Failed to get CSV resource “[https://docs.google.com/spreadsheets/d/1N8480w1hPyilUS4qK1rnSY6RiE-OX-2hy1glQCTRh\_w/export?format=csv](https://docs.google.com/spreadsheets/d/1N8480w1hPyilUS4qK1rnSY6RiE-OX-2hy1glQCTRh_w/export?format=csv)”: failed to parse CSV file [https://docs.google.com/spreadsheets/d/1N8480w1hPyilUS4qK1rnSY6RiE-OX-2hy1glQCTRh\_w/export?format=csv:](https://docs.google.com/spreadsheets/d/1N8480w1hPyilUS4qK1rnSY6RiE-OX-2hy1glQCTRh_w/export?format=csv:) parse error on line 3, column 11: bare " in non-quoted-field  
> If you feel that this should not be logged as an ERROR, you can ignore it by adding this to your site config:  
> ignoreErrors = [“error-remote-getcsv”]  
> ERROR 2021/03/30 21:05:28 render of “page” failed: execute of template failed: template: \_default/single.html:9:6: executing “main” at \<index (index $csv 1) 1\>: error calling index: index of untyped nil  
> ERROR 2021/03/30 21:05:28 render of “page” failed: execute of template failed: template: \_default/single.html:9:6: executing “main” at \<index (index $csv 1) 1\>: error calling index: index of untyped nil  
> ERROR 2021/03/30 21:05:28 render of “page” failed: execute of template failed: template: \_default/single.html:9:6: executing “main” at \<index (index $csv 1) 1\>: error calling index: index of untyped nil  
> ERROR 2021/03/30 21:05:28 render of “page” failed: execute of template failed: template: \_default/single.html:9:6: executing “main” at \<index (index $csv 1) 1\>: error calling index: index of untyped nil  
> Built in 32175 ms  
> Error: Error building site: failed to render pages: render of “page” failed: execute of template failed: template: \_default/single.html:9:6: executing “main” at \<index (index $csv 1) 1\>: error calling index: index of untyped nil

Is this caused by authentication issues ?

---

_[View the full topic](https://discourse.gohugo.io/t/getcsv-output-nothing/32052)._
