New and Old editor won't verify sketches

Hello,
I am currently dealing with the "web editor won't verify" issue that I've seen some other people talk about. I am having the issue with the new and old web editors, which I haven't seen before. The error message said to report the problem here, so here I am! Any help would be appreciated.

Thanks!

Edit: It seems other special characters are affected as well, such as an underscore in my case.

Sorry I cannot help unless you tell us what the issues are.

The issue is that the web editor won't compile or verify sketches. There are no compilation errors in my code, it just won't compile in the editor.

Hi @progmetalislife. I'm sorry about the problem you experienced with **Arduino Cloud*8.

Let's focus our attention on the "new" editor for now.

I'm going to ask you to attempt a very simple compilation using the "new" Cloud Editor in order to allow us to better understand the nature of the problem.

  1. If your Arduino Cloud account is currently configured to use the "old" editor, click the following link to open the editor and then click the "New Cloud Editor is out, try it now!" link in the notification at the bottom right corner of the page to switch back to the "new" editor:
    https://create.arduino.cc/editor
  2. Click the following link to open the "BareMinimum" example sketch in Cloud Editor:
    https://app.arduino.cc/sketches/examples?nav=Examples&eid=01.Basics%2FBareMinimum
  3. Click the icon that looks like an Arduino board ("Select Device") on the Cloud Editor toolbar.
    The "Select device" dialog will open.
  4. Click the "SELECT DEVICE TYPE" link at the bottom of the dialog.
    A list of supported boards will open.
  5. Type arduino uno in the "Search device type" field of the dialog.
  6. Select "Arduino Uno" from the list of boards.
    The "Select device" dialog will close.
  7. Click the checkmark button on the Cloud Editor toolbar.

Now add a reply here on the forum thread to tell us the answer to the following question:

  • Did the compilation succeed this time, or did you encounter the same problem as before where you are instructed to report the problem on the forum?

Hey there!! Not sure if you solved this yet or not, but I was having the EXACT same issue and may have found a solution!! For me, my new file was NOT verifying on the new OR the old editor. Old files that I've had on this account for years WERE working so I tried to compare my code and see if I was messing anything up.

The only difference I found? The name of the file.

Your file name cannot have any spaces!!! Once I removed all of the spaces from my new file name, it started compiling!!

Thanks for sharing your solution @nory! The Arduino Cloud developers are aware of this bug (Cloud Editor allowing the creation of sketches with spaces in their names) and work is in progress to fix it.

Its always bugs as simple as this, isn't it. I didn't have any spaces but I did have an underscore, and that fixed it. Thank you nory and ptillisch!