# MakeCode will not process code

**URL:** <https://forum.makecode.com/t/makecode-will-not-process-code/36262>\
**Category:** Educators' Lounge\
**Created:** [April 30, 2025, 3:11pm UTC](https://forum.makecode.com/t/makecode-will-not-process-code/36262 "2025-04-30T15:11:32Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![wayne.anderson](https://avatars.discourse-cdn.com/v4/letter/w/e8c25b/32.png) [@wayne.anderson](https://forum.makecode.com/u/wayne.anderson)\
**Post date:** [April 30, 2025, 3:11pm UTC](https://forum.makecode.com/t/makecode-will-not-process-code/36262/1 "2025-04-30T15:11:32Z")

</div>

When coding in MakeCode and pressing the green process button, the button turns red and will not process the code.

---

<div class="post-metadata">

**Author:** ![hassan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/hassan/32/1457_2.png) [@hassan](https://forum.makecode.com/u/hassan)\
**Post date:** [April 30, 2025, 3:21pm UTC](https://forum.makecode.com/t/makecode-will-not-process-code/36262/2 "2025-04-30T15:21:08Z")

</div>

Hello Wayne,

Can you share your project? Here are the steps to share a project in micro:bit, but it will be the same in our other editors as well: [https://makecode.microbit.org/share](https://makecode.microbit.org/share)

---

<div class="post-metadata">

**Author:** ![wayne.anderson](https://avatars.discourse-cdn.com/v4/letter/w/e8c25b/32.png) [@wayne.anderson](https://forum.makecode.com/u/wayne.anderson)\
**Post date:** [April 30, 2025, 4:17pm UTC](https://forum.makecode.com/t/makecode-will-not-process-code/36262/3 "2025-04-30T16:17:12Z")

</div>

![Screenshot (22)](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/e/3/e3d79f7a18a5e2cab60e3c60cbedafdc60cb3690.png)

---

<div class="post-metadata">

**Author:** ![wayne.anderson](https://avatars.discourse-cdn.com/v4/letter/w/e8c25b/32.png) [@wayne.anderson](https://forum.makecode.com/u/wayne.anderson)\
**Post date:** [April 30, 2025, 4:18pm UTC](https://forum.makecode.com/t/makecode-will-not-process-code/36262/4 "2025-04-30T16:18:13Z")

</div>

> **[Chicken Rain](https://minecraft.makecode.com/18837-48279-16377-57616)**
>
> Made with ❤️ in Microsoft MakeCode for Minecraft.

---

<div class="post-metadata">

**Author:** ![hassan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/hassan/32/1457_2.png) [@hassan](https://forum.makecode.com/u/hassan)\
**Post date:** [April 30, 2025, 10:56pm UTC](https://forum.makecode.com/t/makecode-will-not-process-code/36262/5 "2025-04-30T22:56:42Z")

</div>

Hello Wayne,

You are not meant to use [https://minecraft.makecode.com/](https://minecraft.makecode.com/) by itself. It should be used with the Minecraft Education application. The other targets have built-in simulators, but not Minecraft.

Once you get into a world in Minecraft Education Edition, press the _c_ key to bring up the code builder. Select MakeCode, and the site should load on half your screen. Create a new project, and you’ll be dropped into the code editor:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/2/8/28374705295cdd9da4bdaacc7359a21a9d443218.jpeg)

From there, press play. The code window will minimize, but it is still running in the background. If we bring up the chat with _t_ and type “run” (make sure to delete the “/” that my be there by default), our function will run and chickens will spawn:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/6/b/6b99a14ba01eeccee9b1553b465cdc8a88364693.jpeg)

---

<div class="post-metadata">

**Author:** ![wayne.anderson](https://avatars.discourse-cdn.com/v4/letter/w/e8c25b/32.png) [@wayne.anderson](https://forum.makecode.com/u/wayne.anderson)\
**Post date:** [May 1, 2025, 3:45pm UTC](https://forum.makecode.com/t/makecode-will-not-process-code/36262/6 "2025-05-01T15:45:44Z")

</div>

Thanks for your response. I am not new to this software. I know how to access it and know how it is to work. My problem is that MakeCode responds the same way in Minecraft in the screenshots I sent. We have white listed all the URLs and even do the access test for the URLs on the Microbit site. Still does not work. Any other recommendations?

---

<div class="post-metadata">

**Author:** ![wayne.anderson](https://avatars.discourse-cdn.com/v4/letter/w/e8c25b/32.png) [@wayne.anderson](https://forum.makecode.com/u/wayne.anderson)\
**Post date:** [May 5, 2025, 4:38pm UTC](https://forum.makecode.com/t/makecode-will-not-process-code/36262/7 "2025-05-05T16:38:50Z")

</div>

I sent a reply to you last week about this issue. I have not received an answer to my problem. Please let me know if there is anything you can do to solve this issue.

---

<div class="post-metadata">

**Author:** ![wayne.anderson](https://avatars.discourse-cdn.com/v4/letter/w/e8c25b/32.png) [@wayne.anderson](https://forum.makecode.com/u/wayne.anderson)\
**Post date:** [May 8, 2025, 9:05pm UTC](https://forum.makecode.com/t/makecode-will-not-process-code/36262/8 "2025-05-08T21:05:55Z")

</div>

Still have not seen a new post to my question. Any recommendations on the problem?"

---

<div class="post-metadata">

**Author:** ![hassan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/hassan/32/1457_2.png) [@hassan](https://forum.makecode.com/u/hassan)\
**Post date:** [May 8, 2025, 9:34pm UTC](https://forum.makecode.com/t/makecode-will-not-process-code/36262/9 "2025-05-08T21:34:05Z")

</div>

Hello, sorry for the delay! Let’s see if we can get to the bottom of the issue. If the green process button turns red, then that means that it is processing the code. When I import your project into Minecraft Education Edition, I can run it. Because the code is in the `on chat command` block, nothing will happen until I type the actual chat command word.

If you want your code to jut run when you press the process button, then you should use the `on start` block in the loops category instead.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/a/0/a0167386e200c107b3869ee36b6b2e4e7d65e5f4.png)  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/f/e/fec8684932eba669d62fe11e2046242cb1bbdd71.png)  
This will now spawn the ocelots as soon as the processing begins.

Try it out and let me know if that solves your issue! If it doesn’t, then we’ll need to dig further.

---

<div class="post-metadata">

**Author:** ![wayne.anderson](https://avatars.discourse-cdn.com/v4/letter/w/e8c25b/32.png) [@wayne.anderson](https://forum.makecode.com/u/wayne.anderson)\
**Post date:** [May 9, 2025, 12:17am UTC](https://forum.makecode.com/t/makecode-will-not-process-code/36262/10 "2025-05-09T00:17:16Z")

</div>

Thanks for the recommendation. I will try it but I do not think it will solve the basic problem. The MakeCode on my school PC as a teacher works correctly. However, the students have Surface PC that have more Internet restrictions. When they put block code into MakeCode, and they press the green button, the screen freezes with the red button. If they drop out of MakeCode and type the on chat word they used, the program does not run because the code has not processed. For now, I do not see how the on start addition will work if the code is not processed into Minecraft.

As I may have stated before, my IT person has white listed in all the URLs in the Minecraft advisory for MakeCode. It still did not solve the processing issue. Do you have the capability to access one of our student computers to see what is happening and find out what is happening? That might be helpful. I would appreciate continued help to see if this processing issue can be resolved. Thank you.

Wayne Anderson

---

<div class="post-metadata">

**Author:** ![hassan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/hassan/32/1457_2.png) [@hassan](https://forum.makecode.com/u/hassan)\
**Post date:** [May 9, 2025, 12:23am UTC](https://forum.makecode.com/t/makecode-will-not-process-code/36262/11 "2025-05-09T00:23:06Z")

</div>

Ah, okay. Is this the [site](https://edusupport.minecraft.net/hc/en-us/articles/4404784181524-URLs-Used-by-Minecraft-Education) with the list of domains?

On the student’s Surface PC, could you have them navigate to [Reachable MakeCode domains](https://minecraft.makecode.com/domains)? It will load a page that will try and hit various URLs used by MakeCode and will let you know if those URLs are reachable from said PC.Could you then reply to this thread with a screen shot of the results? Your results should hopefully look like the following:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/c/6/c60817c26f15482b3f58eac894c6c79b4facf332.png)

Sincerely,  
Hassan

---

<div class="post-metadata">

**Author:** ![wayne.anderson](https://avatars.discourse-cdn.com/v4/letter/w/e8c25b/32.png) [@wayne.anderson](https://forum.makecode.com/u/wayne.anderson)\
**Post date:** [May 9, 2025, 6:19am UTC](https://forum.makecode.com/t/makecode-will-not-process-code/36262/12 "2025-05-09T06:19:16Z")

</div>

I did find these URLs on the Microbit website. We did run them on a student’s PC. They all passed but I will do that test again and send you the results tomorrow.

---

<div class="post-metadata">

**Author:** ![wayne.anderson](https://avatars.discourse-cdn.com/v4/letter/w/e8c25b/32.png) [@wayne.anderson](https://forum.makecode.com/u/wayne.anderson)\
**Post date:** [May 9, 2025, 5:11pm UTC](https://forum.makecode.com/t/makecode-will-not-process-code/36262/13 "2025-05-09T17:11:06Z")

</div>

Yes, the site link you have given is the tech bulletin we have looked at for the URLs for MakeCode. However, the link you provided only shows the page of the results, not the webpage that you can use to test the URLs. I have also shared the picture of the results with my IT person to see if all the URLs are white listed in the firewall. I will let you know if what you have given will work for us.

Wayne Anderson

---

<div class="post-metadata">

**Author:** ![wayne.anderson](https://avatars.discourse-cdn.com/v4/letter/w/e8c25b/32.png) [@wayne.anderson](https://forum.makecode.com/u/wayne.anderson)\
**Post date:** [May 9, 2025, 5:11pm UTC](https://forum.makecode.com/t/makecode-will-not-process-code/36262/14 "2025-05-09T17:11:07Z")

</div>

One more question that my IT person is asking. He is not comfortable opening the Github URLs because of the type of access the students would have to other games and coding. What is the purpose of using any of theGibhub URLs? Can MakeCode still work without the Github URLs? Thanks.

---

<div class="post-metadata">

**Author:** ![hassan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/hassan/32/1457_2.png) [@hassan](https://forum.makecode.com/u/hassan)\
**Post date:** [May 9, 2025, 10:58pm UTC](https://forum.makecode.com/t/makecode-will-not-process-code/36262/15 "2025-05-09T22:58:05Z")

</div>

Hello,

The [second link](https://minecraft.makecode.com/domains) does test if each of the domains in the list are reachable. If you opened the webpage from the student’s PC and see `success` in each every row, then it is likely not a domain access problem.

MakeCode uses GitHub to host official extensions, allow users to backup projects. The core functionality will be there if GitHub is blocked, but the aforementioned features will not work as intended.

After the screen freezes, can you still interact with the sight? Can you stop the simulator when that happens? When it happens, can you

- press the `settings` cog, followed by `About`.
- Take a screen shot of the about page so we can see what version you are running and post it here.
- Click on the purple Experiments button, followed by `Copy console logs`. Then can you paste those console logs here as well?

This is all assuming the students PC can reach all the domain in the list first.

Sincerely,  
Hassan

---

<div class="post-metadata">

**Author:** ![wayne.anderson](https://avatars.discourse-cdn.com/v4/letter/w/e8c25b/32.png) [@wayne.anderson](https://forum.makecode.com/u/wayne.anderson)\
**Post date:** [May 12, 2025, 8:34pm UTC](https://forum.makecode.com/t/makecode-will-not-process-code/36262/16 "2025-05-12T20:34:41Z")

</div>

The MakeCode code still does not process. I have attached the picture of the version of MakeCode we are using. I do not understand where to find the Experiments button you refer to. I also send you the firewall policy we set up with all the URLs we are aware of. I will await your response.

Wayne Anderson

(Attachment MakeCode Policy for Firewall.pdf is missing)

> **(attachments)**
>
> ![Screenshot (147).jpg](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/a/a/aaf5d9c8cbedfef3e437a6c68f06b95c7f43446a.jpeg)

---

<div class="post-metadata">

**Author:** ![hassan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/hassan/32/1457_2.png) [@hassan](https://forum.makecode.com/u/hassan)\
**Post date:** [May 12, 2025, 11:46pm UTC](https://forum.makecode.com/t/makecode-will-not-process-code/36262/17 "2025-05-12T23:46:37Z")

</div>

Thanks for the response! It appears the `Firewall.pdf` file did not upload. If that continues to be the case, please email the file to [makecode@microsoft.com](mailto:makecode@microsoft.com).

Looking at your screenshot I can see that we are using the same version, which is good to know. As for the `Experiments` button, it is the purple one on your screen shot next to the green `OK`. If you press it, another screen will appear with the `Copy console logs` tile. Make sure you copy the console logs after you press the green start button and it fails to run.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/6/3/638599aebdcfd54bebe19404eb29098d82765f2d.jpeg)  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/2/d/2db7693c995621afa87015178a541bdf360e55d2.jpeg)

Sincerely,  
Hassan

---

<div class="post-metadata">

**Author:** ![wayne.anderson](https://avatars.discourse-cdn.com/v4/letter/w/e8c25b/32.png) [@wayne.anderson](https://forum.makecode.com/u/wayne.anderson)\
**Post date:** [May 19, 2025, 10:16pm UTC](https://forum.makecode.com/t/makecode-will-not-process-code/36262/18 "2025-05-19T22:16:38Z")

</div>

I have sent two files to you thru [Makecode@microsoft.com](mailto:Makecode@microsoft.com), the Firewall settings and Console Log. Please review these files and see if you can find a solution. The MakeCode still stops went processing the code and the green arrow turns red.

Wayne Anderson

---

<div class="post-metadata">

**Author:** ![wayne.anderson](https://avatars.discourse-cdn.com/v4/letter/w/e8c25b/32.png) [@wayne.anderson](https://forum.makecode.com/u/wayne.anderson)\
**Post date:** [May 20, 2025, 4:57pm UTC](https://forum.makecode.com/t/makecode-will-not-process-code/36262/19 "2025-05-20T16:57:47Z")

</div>

Here is the information you requested. Please let me know if there is a solution.

URL White List

Category Category IDDomain Notes
