Automatic saving in Cloud editor does not work

Hi at all,

In Arduino Cloud I select a sketch and I modify It in Cloud Editor, then I return in Cloud Home page. If I return in Cloud Editor by selecting the same Sketch, the changes made previously are not present.

The "Automatic saving" flag in Cloud Editor is enabled.

Enabling "Automatic saving after verify" the result does not change.

The issue is present on different PC with the same Arduino Cloud account.

PC is equiped with win11 and internet is working well.

I tested with different browses (chrome, Edge…) but nothing change.

Please, help me ….

Hi @ade60. Thanks for your report.

I just did some tests and was not able to reproduce the fault.

Do you still experience the problem if you try it again now?

If so, our different results might be due to the procedure I followed differing from the one you followed.

Is this occurring with an Arduino Cloud IoT Thing sketch, or with a non-IoT sketch?

Is the problem limited to specific sketches, or does it also occur even if you try it with a new sketch?

Do you see the unsaved indicator on the sketch tab?:

What is the exact procedure you are following to "return in Cloud Editor by selecting the same Sketch"? Are you selecting it via the "Recent Files section on the Arduino Cloud home page? Or are you selecting it via the "Sketches" page? Or, assuming it is a Thing sketch, are you selecting it via the "Things" page? Or are you selecting it in some other manner?

Hi and thenk a lot for your help

Yes the problem is still there

Currently the problem occurs with a non-iot sketch. To check if the problem occurs with an iot sketck, I created a device and then I tried to create a thing but the option to activate wifi does not appear (see screen-shot below) and if I will try to generate the sketch I receive the warning below. I have a free plan.

It is possible that the same underlying issue is causing both this error and the failure to save the sketch.

I'm going to ask you to provide some additional information that might help us to identify the problem.


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


Please do this:

  1. Use your web browser to perform any actions that are needed to prepare for reproducing the sketch generation problem you encountered before, just as you did before when you encountered that "Sketch not updated!" error.
  2. Right-click (Control-click for macOS users) on the web page.
    A context menu will open.
  3. Select "Inspect" from the context menu.
    A developer tools panel will open in the browser.
  4. Select the "Console" tab from the top of the developer tools panel.
    The web console will open in the developer tools panel.
  5. Click the :prohibited: icon ("Clear console") icon that is located near the top left corner of the web console panel.
    ⓘ This is done to clear any irrelevant console content that was generated previously.
  6. Click the "GENERATE SKETCH" button.
  7. Right-click (Control-click for macOS users) on the content in the web console panel.
    A context menu will open.
  8. Select "Copy console" from the context menu.
    This will copy the selected text to the clipboard.
  9. Open a reply here on this forum topic by clicking the "Reply" button.
  10. 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.
  11. Press the Ctrl+V keyboard shortcut (Command+C for macOS users).
    This will paste the browser console content into the code block.
  12. Review the pasted browser console content to ensure it doesn't contain any personal/sensitive information that you don't wish to share. If it does, you can replace that content with a placeholder. It will be useful to add a note regarding any such redactions in case the original content was specifically relevant to the investigation.
  13. Move the cursor outside of the code block markup before you add any additional text to your reply.
  14. Click the "Reply" button to publish the post.

Please let us know if you have any questions or problems while following those instructions.

index-DSMQgSvC.js:1653  PUT https://api2.arduino.cc/iot/v2/things/4b020b14-eaae-4ce9-86bd-aaec6b1a1927/sketch 500 (Internal Server Error)
execute @ index-DSMQgSvC.js:1653
put @ index-DSMQgSvC.js:1653
await in put
update @ index-DSMQgSvC.js:1704
updateSketch @ index-DSMQgSvC.js:1647
resetSketch @ index-DSMQgSvC.js:1647
Du.u.value @ index-DSMQgSvC.js:147
v @ index-DSMQgSvC.js:1275
eS0 @ index-DSMQgSvC.js:52
uS0 @ index-DSMQgSvC.js:52
nS0 @ index-DSMQgSvC.js:52
v_e @ index-DSMQgSvC.js:52
rpt @ index-DSMQgSvC.js:52
(anonymous) @ index-DSMQgSvC.js:52
Nze @ index-DSMQgSvC.js:55
Fht @ index-DSMQgSvC.js:52
MEe @ index-DSMQgSvC.js:52
dze @ index-DSMQgSvC.js:52
bS0 @ index-DSMQgSvC.js:52

index-DSMQgSvC.js:1653 PUT https://api2.arduino.cc/iot/v2/things/4b020b14-eaae-4ce9-86bd-aaec6b1a1927/sketch 500 (Internal Server Error) execute @ index-DSMQgSvC.js:1653 put @ index-DSMQgSvC.js:1653 await in put update @ index-DSMQgSvC.js:1704 updateSketch @ index-DSMQgSvC.js:1647 resetSketch @ index-DSMQgSvC.js:1647 Du.u.value @ index-DSMQgSvC.js:147 v @ index-DSMQgSvC.js:1275 eS0 @ index-DSMQgSvC.js:52 uS0 @ index-DSMQgSvC.js:52 nS0 @ index-DSMQgSvC.js:52 v_e @ index-DSMQgSvC.js:52 rpt @ index-DSMQgSvC.js:52 (anonymous) @ index-DSMQgSvC.js:52 Nze @ index-DSMQgSvC.js:55 Fht @ index-DSMQgSvC.js:52 MEe @ index-DSMQgSvC.js:52 dze @ index-DSMQgSvC.js:52 bS0 @ index-DSMQgSvC.js:52

(tnanks

Hi Arduino team,

I don't understand why you're not replying. Is there some information missing?

regards

Hi at all,

my issue is always present and it is impossible for me to use Cloud Editor…..HELP me thanks.