If you get this error, you will need to either enable the Force Connect flag or make sure you relinquish ownership of the Moku at the end of your script. It is best to do both if possible. Refer to this forum post for help with clearing the ‘API Connection already exists.’ issue.