Sometimes, the openHAB REST API throws errors, those are currently not catched / handled by this application. The most likely error to handle would be 503 which is thrown when openHAB is overloaded handling the requests (which could easily happen if computing-intensive actions are triggered via the rotation wheel when not using sendFrequency).