# Sharing code issue in Chrome browser

**URL:** <https://community.droneblocks.io/t/sharing-code-issue-in-chrome-browser/235>\
**Category:** DroneBlocks Support\
**Created:** [December 9, 2021, 2:16pm UTC](https://community.droneblocks.io/t/sharing-code-issue-in-chrome-browser/235 "2021-12-09T14:16:39Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![SethL](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@SethL](https://community.droneblocks.io/u/SethL)\
**Post date:** [December 9, 2021, 2:16pm UTC](https://community.droneblocks.io/t/sharing-code-issue-in-chrome-browser/235/1 "2021-12-09T14:16:39Z")

</div>

When a student shares their block code with me, and it contains LED code, the Droneblocks chrome app will not load the code. It comes in as a bunch of single lines and not everything. I have even opened the app in advance and set the drone type before trying to load the shared code. This has made it impossible to see my students code issues without going to their computer.

Any suggestions?  
Seth

---

<div class="post-metadata">

**Author:** ![dbaldwin](https://avatars.discourse-cdn.com/v4/letter/d/d2c977/32.png) [@dbaldwin](https://community.droneblocks.io/u/dbaldwin)\
**Post date:** [December 9, 2021, 8:31pm UTC](https://community.droneblocks.io/t/sharing-code-issue-in-chrome-browser/235/2 "2021-12-09T20:31:41Z")

</div>

Seth, can you share more about the workflow please? Your student shares their drone mission from what device? You are trying to open it on your desktop through a standard web browser? What happens when you access this Tello Talent LED mission example:

[https://dev.droneblocks.io/tello\_talent.html?share=1&missionId=xeadu1j186cspc6d7oert8pv07a603a5&uid=google:103480883879447963317](https://dev.droneblocks.io/tello_talent.html?share=1&missionId=xeadu1j186cspc6d7oert8pv07a603a5&uid=google:103480883879447963317)

You should see something like below…

 ![tello_talent_solar_mission](https://canada1.discourse-cdn.com/flex036/uploads/droneblocks/original/1X/432252145bbf887529cc38c709b1b7adcd2e89c2.png)

If you don’t see that Tello Talent LED mission please post a screenshot so we can take a look. Thanks!

---

<div class="post-metadata">

**Author:** ![SethL](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@SethL](https://community.droneblocks.io/u/SethL)\
**Post date:** [December 10, 2021, 12:16am UTC](https://community.droneblocks.io/t/sharing-code-issue-in-chrome-browser/235/3 "2021-12-10T00:16:55Z")

</div>

Dennis,

I could open your code fine. Try to open my link below and see what you get.  
The code was created on a Mac using Chrome extensions. I watched as the student saved the mission and then did a share to copy the link. I have the same issue with every student in the class.

[https://dev.droneblocks.io/tello.html?share=1&missionId=b8rym7e8qogmmm5usrt7b8x5l6tl1s36d&uid=kIpoecDDjJVts8SKdVHNOnHTw9q1](https://dev.droneblocks.io/tello.html?share=1&missionId=b8rym7e8qogmmm5usrt7b8x5l6tl1s36d&uid=kIpoecDDjJVts8SKdVHNOnHTw9q1)

So any idea what the issue is? Something with the share?

Thanks.  
Seth

---

<div class="post-metadata">

**Author:** ![dbaldwin](https://avatars.discourse-cdn.com/v4/letter/d/d2c977/32.png) [@dbaldwin](https://community.droneblocks.io/u/dbaldwin)\
**Post date:** [December 10, 2021, 3:22pm UTC](https://community.droneblocks.io/t/sharing-code-issue-in-chrome-browser/235/4 "2021-12-10T15:22:57Z")

</div>

I think I see the issue now. It could be that you’re using an older version of the DroneBlocks Chrome App. A simple fix would be to uninstall and reinstall it, but let me explain to be clear. Here is your mission that loads successfully:

[DroneBlocks](https://dev.droneblocks.io/tello_talent.html?share=1&missionId=b8rym7e8qogmmm5usrt7b8x5l6tl1s36d&uid=kIpoecDDjJVts8SKdVHNOnHTw9q1)

Notice that the url has tello\_talent.html in it? This is what mine looks like when I access that url:

 ![seth_mission](https://canada1.discourse-cdn.com/flex036/uploads/droneblocks/original/1X/76c6107d49a14fa1660d0fd120cc456cbd279c22.png)

Now the problem is with older versions of the Chrome App that don’t share the proper url (tello vs tello\_talent). When you click share you should see tello\_talent.html in the popup as highlighted in the following screen:

 ![chrome_share_tt](https://canada1.discourse-cdn.com/flex036/uploads/droneblocks/original/1X/d1010d0aaf5cea07f89fce88c9277159ba25b339.png)

Once again. Try uninstalling and reinstalling and let us know if that works. If it doesn’t we’ll take it from there.

---

<div class="post-metadata">

**Author:** ![SethL](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@SethL](https://community.droneblocks.io/u/SethL)\
**Post date:** [December 10, 2021, 3:50pm UTC](https://community.droneblocks.io/t/sharing-code-issue-in-chrome-browser/235/5 "2021-12-10T15:50:07Z")

</div>

Thanks Dennis. Now I need to get the students to update their versions so that we can save the code properly to share. A shame I start a new group after next week.  
Seth

---

<div class="post-metadata">

**Author:** ![dbaldwin](https://avatars.discourse-cdn.com/v4/letter/d/d2c977/32.png) [@dbaldwin](https://community.droneblocks.io/u/dbaldwin)\
**Post date:** [December 10, 2021, 3:52pm UTC](https://community.droneblocks.io/t/sharing-code-issue-in-chrome-browser/235/6 "2021-12-10T15:52:09Z")

</div>

Just so I’m clear here. You shouldn’t lose any work. You can save whatever the students have created today. Then update the version. Then that code will work in the updated version.

---

<div class="post-metadata">

**Author:** ![SethL](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@SethL](https://community.droneblocks.io/u/SethL)\
**Post date:** [December 10, 2021, 5:29pm UTC](https://community.droneblocks.io/t/sharing-code-issue-in-chrome-browser/235/7 "2021-12-10T17:29:29Z")

</div>

Yup, I got it. Was even able to open their code by modifying the address.  
Seth

---

<div class="post-metadata">

**Author:** ![dbaldwin](https://avatars.discourse-cdn.com/v4/letter/d/d2c977/32.png) [@dbaldwin](https://community.droneblocks.io/u/dbaldwin)\
**Post date:** [December 10, 2021, 5:30pm UTC](https://community.droneblocks.io/t/sharing-code-issue-in-chrome-browser/235/8 "2021-12-10T17:30:56Z")

</div>

Thanks for confirming and appreciate you bringing this to our attention!
