# Load files from google drive

**URL:** <https://forum.makecode.com/t/load-files-from-google-drive/20141>\
**Category:** micro:bit\
**Created:** [May 22, 2023, 4:58pm UTC](https://forum.makecode.com/t/load-files-from-google-drive/20141 "2023-05-22T16:58:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![twolken](https://avatars.discourse-cdn.com/v4/letter/t/ac8455/32.png) [@twolken](https://forum.makecode.com/u/twolken)\
**Post date:** [May 22, 2023, 4:58pm UTC](https://forum.makecode.com/t/load-files-from-google-drive/20141/1 "2023-05-22T16:58:00Z")

</div>

Is it possible to Import a .hex file from Google drive? I organize my lessons in a Google document. In the document there are links to breadboard wiring(.png) and Block code(.hex).

1. I store my code, .hex, on Google drive. I set it’s share to Anyone with this link, Role is Editor.(For this example the Role is Editor to give it the best chance to succeed. Normally the Role is Viewer.)
2. I apply the link to a word in my Google document.
3. While teaching, I left-click on the word and choose Copy Link.
4. In MakeCode I click Import and select Import URL. I paste the link and click Go ahead!

This fails, MakeCode returns this message, _Sorry, the project file looks invalid_

Is there something I’m doing wrong? Is opening a Google URL possible in MakeCode?

Thank you!

---

<div class="post-metadata">

**Author:** ![dsssssssss9](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dsssssssss9/32/861_2.png) [@dsssssssss9](https://forum.makecode.com/u/dsssssssss9)\
**Post date:** [May 22, 2023, 9:05pm UTC](https://forum.makecode.com/t/load-files-from-google-drive/20141/2 "2023-05-22T21:05:12Z")

</div>

Hi …

Try downloading the hex file from your drive to local machine & then just drag / drop it onto the editor - does it work this way ?

---

<div class="post-metadata">

**Author:** ![bsiever](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/bsiever/32/1032_2.png) [@bsiever](https://forum.makecode.com/u/bsiever)\
**Post date:** [May 22, 2023, 10:08pm UTC](https://forum.makecode.com/t/load-files-from-google-drive/20141/3 "2023-05-22T22:08:18Z")

</div>

Why not just use the Share project URL links in the document instead? Like: [https://support.microbit.org/support/solutions/articles/19000086289-sharing-a-makecode-project](https://support.microbit.org/support/solutions/articles/19000086289-sharing-a-makecode-project)

The link currently opens a new copy of the generated URL, so the “shared” work wouldn’t change the contents of what was originally shared. (It sounds like they are working on an update where a project can be “shared” in a new way — the link would still open a copy, but the original work could easily be updated and the link would open a copy of the update…currently the project needs to be re-shred and URLs updated if there are any changes that replace the prior version)
