# Problem with downloading code connected to Google Drive

**URL:** <https://talk.observablehq.com/t/problem-with-downloading-code-connected-to-google-drive/7729>\
**Category:** Feedback\
**Created:** [March 11, 2023, 10:42pm UTC](https://talk.observablehq.com/t/problem-with-downloading-code-connected-to-google-drive/7729 "2023-03-11T22:42:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dv0zn3r](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/dv0zn3r/32/7549_2.png) [@dv0zn3r](https://talk.observablehq.com/u/dv0zn3r)\
**Post date:** [March 11, 2023, 10:42pm UTC](https://talk.observablehq.com/t/problem-with-downloading-code-connected-to-google-drive/7729/1 "2023-03-11T22:42:59Z")

</div>

Hi

I have recently had a problem with downloading code from a private notebook. The downloading process would start, but it would download a 10kb corrupted archive file. After investigating the issue, I believe it is somehow connected to the fact that the utilised file was connected to the graph through Google Drive. There was no such problem if a chart was using an uploaded file.

---

<div class="post-metadata">

**Author:** ![mootari](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/mootari/32/581_2.png) [@mootari](https://talk.observablehq.com/u/mootari)\
**Post date:** [March 11, 2023, 10:51pm UTC](https://talk.observablehq.com/t/problem-with-downloading-code-connected-to-google-drive/7729/2 "2023-03-11T22:51:45Z")

</div>

Hi, thanks for reporting! Are you the owner of that file, or is there a chance that you only have permission to view the file (within Google Drive), but not to download it?

Also, could you specify how exactly you downloaded the code?

---

<div class="post-metadata">

**Author:** ![dv0zn3r](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/dv0zn3r/32/7549_2.png) [@dv0zn3r](https://talk.observablehq.com/u/dv0zn3r)\
**Post date:** [March 11, 2023, 10:55pm UTC](https://talk.observablehq.com/t/problem-with-downloading-code-connected-to-google-drive/7729/3 "2023-03-11T22:55:40Z")

</div>

Yes, the owner. Simple .json file hosted on Google Drive and connected through Observable.

I have downloaded by pushing the export button in my private Observable notebook.

---

<div class="post-metadata">

**Author:** ![mootari](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/mootari/32/581_2.png) [@mootari](https://talk.observablehq.com/u/mootari)\
**Post date:** [March 11, 2023, 11:08pm UTC](https://talk.observablehq.com/t/problem-with-downloading-code-connected-to-google-drive/7729/4 "2023-03-11T23:08:33Z")

</div>

Thanks again, I’ve filed an internal issue. We’ll update here once we have a fix.

Unfortunately I cannot offer any workaround aside from attaching the file directly to the notebook.
