# Sketch Data Incomplete

**URL:** <https://forum.arduino.cc/t/sketch-data-incomplete/1300556>\
**Category:** Cloud Editor\
**Created:** [September 11, 2024, 9:39am UTC](https://forum.arduino.cc/t/sketch-data-incomplete/1300556 "2024-09-11T09:39:31Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dan0](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/dan0/32/1098602_2.png) [@Dan0](https://forum.arduino.cc/u/Dan0)\
**Post date:** [September 11, 2024, 9:39am UTC](https://forum.arduino.cc/t/sketch-data-incomplete/1300556/1 "2024-09-11T09:39:31Z")

</div>

Hello All, its been a long time since I have been here or used the IDE, a lot has changed with the online IDE (or is it called CLI?) in that time

I just tried to upload a simple blink sketch to familiarise myself with the new environment, works fine on the IDE but online I get an error "sketch data incomplete, either uploading or not compliant with cloud CLI"

I have tried to find the cause in the FAQ but am not able to locate the relevant answer. I presume this is something really basic?

thanks for your assistance in advance

---

<div class="post-metadata">

**Author:** ![UKHeliBob](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ukhelibob/32/215663_2.png) [@UKHeliBob](https://forum.arduino.cc/u/UKHeliBob)\
**Post date:** [September 11, 2024, 9:49am UTC](https://forum.arduino.cc/t/sketch-data-incomplete/1300556/2 "2024-09-11T09:49:46Z")

</div>

Welcome back

You have posted in the IDE 1.x category of the forum but I suspect that you are using IDE 2.x and/or the IoT Cloud

Can you please clarify how and where you get the error ?

---

<div class="post-metadata">

**Author:** ![pert](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/pert/32/217111_2.png) [@pert](https://forum.arduino.cc/u/pert)\
**Post date:** [September 11, 2024, 11:45am UTC](https://forum.arduino.cc/t/sketch-data-incomplete/1300556/3 "2024-09-11T11:45:49Z")

</div>

I moved your topic to a more appropriate forum category @Dan0.

In the future, please take the time to pick the [forum category](https://forum.arduino.cc/categories) that best suits the subject of your question. There is an " **About the \_\_\_\_\_ category**" topic at the top of each category that explains its purpose.

Thanks in advance for your cooperation.

---

<div class="post-metadata">

**Author:** ![Dan0](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/dan0/32/1098602_2.png) [@Dan0](https://forum.arduino.cc/u/Dan0)\
**Post date:** [September 11, 2024, 12:07pm UTC](https://forum.arduino.cc/t/sketch-data-incomplete/1300556/4 "2024-09-11T12:07:43Z")

</div>

noted

---

<div class="post-metadata">

**Author:** ![ivantalus](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ivantalus/32/1108192_2.png) [@ivantalus](https://forum.arduino.cc/u/ivantalus)\
**Post date:** [September 30, 2024, 7:57am UTC](https://forum.arduino.cc/t/sketch-data-incomplete/1300556/5 "2024-09-30T07:57:58Z")

</div>

Did you find a solution to this? I'm having the same issue as well...

---

<div class="post-metadata">

**Author:** ![anoracknophobia2](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/anoracknophobia2/32/827938_2.png) [@anoracknophobia2](https://forum.arduino.cc/u/anoracknophobia2)\
**Post date:** [September 30, 2024, 5:35pm UTC](https://forum.arduino.cc/t/sketch-data-incomplete/1300556/6 "2024-09-30T17:35:06Z")

</div>

me too !

---

<div class="post-metadata">

**Author:** ![Dan0](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/dan0/32/1098602_2.png) [@Dan0](https://forum.arduino.cc/u/Dan0)\
**Post date:** [October 3, 2024, 10:01am UTC](https://forum.arduino.cc/t/sketch-data-incomplete/1300556/7 "2024-10-03T10:01:41Z")

</div>

@anoracknophobia2 @ivantalus I didnt find a solution and ended up just using the old computer based IDE

---

<div class="post-metadata">

**Author:** ![anoracknophobia2](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/anoracknophobia2/32/827938_2.png) [@anoracknophobia2](https://forum.arduino.cc/u/anoracknophobia2)\
**Post date:** [October 3, 2024, 10:37am UTC](https://forum.arduino.cc/t/sketch-data-incomplete/1300556/8 "2024-10-03T10:37:53Z")

</div>

I have managed to get my code ( and many tabs ) into the cloud … basically I first had to shorten the filename, then compile it on my Mac ( using IDE 2.3.3 ) … then load it onto a WiFi enabled board… then I can’t quite recall the detail ! .. but I think I may have first created a .zip file of the new Sketch and imported in the web editor.

The key issues was reducing the file name to about 20 characters.

NOW - I get loads of compilation errors which I’m working through - thus migration process is not as simple as I expected … good luck.

---

<div class="post-metadata">

**Author:** ![ptillisch](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@ptillisch](https://forum.arduino.cc/u/ptillisch)\
**Post date:** [October 3, 2024, 11:18am UTC](https://forum.arduino.cc/t/sketch-data-incomplete/1300556/9 "2024-10-03T11:18:07Z")

</div>

Thanks for the update @anoracknophobia2. I'm glad you were able to overcome this mysterious "`sketch data incomplete`" error.

> [@anoracknophobia2](#):
>
> then compile it on my Mac ( using IDE 2.3.3 ) … then load it onto a WiFi enabled board

These steps were definitely not necessary.

> [@anoracknophobia2](#):
>
> The key issues was reducing the file name to about 20 characters.

Interesting. Do you remember the filename it had when it produced the "`sketch data incomplete, either uploading or not compliant with cloud CLI`" error?

> [@anoracknophobia2](#):
>
> NOW - I get loads of compilation errors which I’m working through - thus migration process is not as simple as I expected

I see you posted about that over here: [Project migration from Nano EVERY to 33 IOT - #7 by anoracknophobia2](https://forum.arduino.cc/t/project-migration-from-nano-every-to-33-iot/1305731/7). I'll take a look and respond there.

---

<div class="post-metadata">

**Author:** ![ptillisch](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@ptillisch](https://forum.arduino.cc/u/ptillisch)\
**Post date:** [October 3, 2024, 11:20am UTC](https://forum.arduino.cc/t/sketch-data-incomplete/1300556/10 "2024-10-03T11:20:09Z")

</div>

> [@ivantalus](#):
>
> I'm having the same issue as well...

Hi @ivantalus. I'm going to ask you to provide the full output from an upload attempt that produces the "`sketch data incomplete, either uploading or not compliant with cloud CLI`" error.

* * *

❗ This procedure is not intended to solve the problem. The purpose is to gather more information.

* * *

Please do this:

1. Open your sketch in **Arduino Cloud Editor**.
2. Click the **➜** button in the **Cloud Editor** toolbar.
3. Wait for the upload to fail.
4. If the black " **Console**" panel at the bottom of the **Cloud Editor** page is minimized, click the **˄** icon at the right side of the " **Console**" toolbar to expand it.
5. Click the icon in the top right corner of the black " **Console**" panel at the bottom of the **Cloud Editor** page that looks like two pieces of paper ("Copy Console Output"):  
 ![Icon in the output panel](https://europe1.discourse-cdn.com/arduino/original/4X/8/e/f/8ef0e18839366c89c28e6293dcb0589733693b35.png)
6. Open a forum reply here by clicking the " **Reply**" button.
7. Click the **`<CODE/>`** icon on the post composer toolbar.  
This will add the forum's code block markup ( **`````** ) to your reply to make sure the error messages are correctly formatted.  
 ![Code block icon on toolbar](https://europe1.discourse-cdn.com/arduino/original/4X/f/3/4/f34b0ef2ecd107da4bf127b3c0bc1c28569e7fe0.png)
8. Press the **Ctrl** + **V** keyboard shortcut ( **Command** + **V** for macOS users).  
This will [paste](https://lifehacker.com/how-to-copy-cut-and-paste-for-beginners-5801525) the error output from the upload into the code block.
9. Move the cursor outside of the code block markup before you add any additional text to your reply.
10. Click the " **Reply**" button to post the output.

---

<div class="post-metadata">

**Author:** ![anoracknophobia2](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/anoracknophobia2/32/827938_2.png) [@anoracknophobia2](https://forum.arduino.cc/u/anoracknophobia2)\
**Post date:** [October 3, 2024, 4:59pm UTC](https://forum.arduino.cc/t/sketch-data-incomplete/1300556/11 "2024-10-03T16:59:26Z")

</div>

the "too long" folder and filename was [E\_NINJA\_33IOT\_H03\_25SEPTEMBER2024]  
which I truncated to [E\_NINJA\_UNOR4\_H04\_mac]

The compile errors are the use of the "memset" function and calls to use the UART "Serial1"

---

<div class="post-metadata">

**Author:** ![ptillisch](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@ptillisch](https://forum.arduino.cc/u/ptillisch)\
**Post date:** [October 3, 2024, 11:54pm UTC](https://forum.arduino.cc/t/sketch-data-incomplete/1300556/12 "2024-10-03T23:54:03Z")

</div>

> [@anoracknophobia2](#):
>
> the "too long" folder and filename was [E\_NINJA\_33IOT\_H03\_25SEPTEMBER2024]

Thanks! It is interesting. Arduino Cloud limits the length of sketch names to 32 characters, and `E_NINJA_33IOT_H03_25SEPTEMBER2024` is 34 (I assume the `[` and `]` were added for stylistic purposes rather than being part of the actual filename). There is a bug in Arduino Cloud that allows you to import sketches with names longer than that limit (though you could also argue that the 32 character limit is actually the bug, since the [**Arduino Sketch Specification**](https://arduino.github.io/arduino-cli/latest/sketch-specification/) sets the limit at 63).

So this made me think that maybe the mysterious "`sketch data incomplete, either uploading or not compliant with cloud CLI` " error is caused by trying to use Cloud Editor to upload a sketch that has a name longer than 32 characters. However, I created a sketch on my computer with the name E\_NINJA\_33IOT\_H03\_25SEPTEMBER2024, imported it to Arduino Cloud, then uploaded it to my Arduino board and still didn't encounter the error. So either the error has a different cause, or else this was the cause of the error when you and the others encountered it, but Cloud Editor has been fixed since that time so it can now handle sketches with names \>32 characters.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [April 1, 2025, 11:54pm UTC](https://forum.arduino.cc/t/sketch-data-incomplete/1300556/13 "2025-04-01T23:54:38Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
