# I get Error 022 only on real hardware, how can i fix this?

**URL:** <https://forum.makecode.com/t/i-get-error-022-only-on-real-hardware-how-can-i-fix-this/22786>\
**Category:** Help\
**Created:** [September 25, 2023, 5:01pm UTC](https://forum.makecode.com/t/i-get-error-022-only-on-real-hardware-how-can-i-fix-this/22786 "2023-09-25T17:01:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![technonux](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/technonux/32/7924_2.png) [@technonux](https://forum.makecode.com/u/technonux)\
**Post date:** [September 25, 2023, 5:01pm UTC](https://forum.makecode.com/t/i-get-error-022-only-on-real-hardware-how-can-i-fix-this/22786/1 "2023-09-25T17:01:10Z")

</div>

> **[mka os](https://arcade.makecode.com/S63271-32902-05665-12494)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

when i try this project on my pybadge about after the logo fades in the pybadge crashes with error “022”

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [September 25, 2023, 5:46pm UTC](https://forum.makecode.com/t/i-get-error-022-only-on-real-hardware-how-can-i-fix-this/22786/2 "2023-09-25T17:46:06Z")

</div>

this looks like a bug in the pxt-blur extension. when you pass in 0 for the pixel size here:

![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/d/d34f97270aff56ba17bcb2a4946f8ce74c93dee6.png)

you’re causing it to try and allocate an image that’s too big. You can fix it by passing 1 instead of 0

@Kiwiphoenix364 you should probably limit the images you allocate to the screen size as a maximum!

---

<div class="post-metadata">

**Author:** ![Kiwiphoenix364](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kiwiphoenix364/32/14368_2.png) [@Kiwiphoenix364](https://forum.makecode.com/u/Kiwiphoenix364)\
**Post date:** [September 25, 2023, 6:15pm UTC](https://forum.makecode.com/t/i-get-error-022-only-on-real-hardware-how-can-i-fix-this/22786/3 "2023-09-25T18:15:42Z")

</div>

Yeah, I’ll have to fix that (limit pixel size to 1 or higher or else not do anything) as well as putting variables in classes so the zoom and blur extensions don’t conflict! A fix should be up within the next few days!

---

<div class="post-metadata">

**Author:** ![technonux](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/technonux/32/7924_2.png) [@technonux](https://forum.makecode.com/u/technonux)\
**Post date:** [September 25, 2023, 9:46pm UTC](https://forum.makecode.com/t/i-get-error-022-only-on-real-hardware-how-can-i-fix-this/22786/4 "2023-09-25T21:46:43Z")

</div>

ohh okay, i was able to fix it i dont remember how though

---

<div class="post-metadata">

**Author:** ![Luke51632-OFFICAL](https://avatars.discourse-cdn.com/v4/letter/l/94ad74/32.png) [@Luke51632-OFFICAL](https://forum.makecode.com/u/Luke51632-OFFICAL)\
**Post date:** [April 29, 2025, 5:51pm UTC](https://forum.makecode.com/t/i-get-error-022-only-on-real-hardware-how-can-i-fix-this/22786/5 "2025-04-29T17:51:02Z")

</div>

I got this error as well, but all i have is the hummingbird, servo’s and record exstention, im using the Servo extention for the humming bird external speaker to buzz

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [April 29, 2025, 5:51pm UTC](https://forum.makecode.com/t/i-get-error-022-only-on-real-hardware-how-can-i-fix-this/22786/6 "2025-04-29T17:51:22Z")

</div>

@Luke51632-OFFICAL can you share a link to the project that’s giving you the error?
