Something went wrong! - IoT Setup

When I try to configure my MKR WIFI 1010 in the IoT cloud I get the SUPER helpful "Something Went Wrong" error telling me to restart the device (done) and restart the Create Agent (Done). It just will not go past this step. I removed it from the carrier and still no joy.

Posting your code and schematic would make it lot easier to answer your question!

same here with a portenta. maybe they will fix it or someone will help in a more educated way than gilshu

you are wrong, there is no schematics even no code to post as tuckercomp has explained it's happening while setting up the board with the IOT cloud...
the agent error console would maybe help to find
I've pasted some guidance that another forum user ( @In0) gave me to find the reason of a similar problem
in my case (different board) was the antivirus erasing some executables files needed by the cloud setup process, but the arduino create agent log could help you find the reason of the failure.

  1. In your system tray (AKA "notification area" on Windows), click the Arduino logo.
  2. Click "Open Debug Console". This should open the "Arduino Create Agent Debug Console" in your browser.
  3. Uncheck the box next to " Enable List Command" near the bottom right corner of the "Arduino Create Agent Debug Console" window..
  4. Click the Clear Log button near the bottom right corner of the "Arduino Create Agent Debug Console" window.
  5. Leaving the Arduino Create Agent Debug Console browser tab open, attempt to set up a new RP2040 Connect device via Arduino IoT Cloud, as you did before when it failed
  6. Once the process fails, switch to the Arduino Create Agent Debug Console browser tab.
  7. Click the Export Log button in the bottom right corner of the "Arduino Create Agent Debug Console" window.
  8. Open the downloaded "agent-log.txt" file in a text editor.
  9. Press Ctrl+A to select all the text.
  10. Press Ctrl+C to copy the selected text to the clipboard.
  11. Open a forum reply here by clicking the Reply button.
  12. Click the </> icon on the post composer toolbar. This will add the forum's code block markup (`````) to your reply to make sure the output is correctly formatted.
    Code block
  13. Press Ctrl+V. This will paste the output into the code block.
  14. Move the cursor outside of the code tags before you add any additional text to your reply.
  15. Click the Reply button to post the output.

Hopefully that debug output will provide some clues.
hope this helps.
PS THANKS and credits to @In0


Is this resolved?
I had problems getting the same board registered as a device in IOT Cloud. V frustrating!
Eventually I found a thread which resolved the problem. I am going from memory that I had to use the desktop IDE to update WiFi101 on the board before it would be accepted.
If it is still a problem, I can try to find the solution?

For those starting with Arduino IOT Cloud on a MKR WiFI 1010 there is a stumbling block at the very first stage! (I got my subscription with the OPLA kit and wasted several days before finding this solution)
Arduino are aware and have provided the tutorial in the following link:

It is not easy to find! Good luck - it is much more rewarding after this but not without problems!

1 Like

Thank you very much for this helping information
What I did and fix the problem on my side is:

  • disconnect my iot device
  • close software Arduino and Arduino agent
  • restart both arduino software (IDE and Agent)
  • reconnect my not device (and double click to reset it)
  • update firmware
  • and I follow your directive here From point 1- 6 with open debug console

And everything work now

Thank you

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