Cannot upload to board over the air, if wrong password was provided once. IDE caches the user fields #1359
Closed
3 tasks done
Labels
conclusion: invalid
Issue/PR not valid
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Describe the problem
When uploading to a MKR1000 based on this tutorial, users have to provide the password. If the password was incorrectly provided the upload with fail with
Failed uploading: uploading error: exit status 1
. Trying to upload again will always fail because the user fields are cached by the IDE.To reproduce
Reloading the window, restarting the IDE, or opening a new sketch and providing the correct password solves the issue.
ide2_caching_fields.mp4
Expected behavior
Perhaps there should be a meaningful error code/message from the CLI; authentication failed, and then the IDE will know that the user fields should be discarded.
Or
Provide a command to discard the user fields cache.
Arduino IDE version
7c361cf
Operating system
macOS
Operating system version
12.5.1
Additional context
No response
Issue checklist
The text was updated successfully, but these errors were encountered: