If the PRTG sensorIDs corresponding inote msg has been deleted on the server, the creation of the revision will fail. This has to be catched and dealt with.
Things to do:
If the creation of the revision failes, check the reason for the failure.
If it is, because the message has already been deleted, create a new message.
Update the msgID for the sensorID accordingly to the index of the new message
If the PRTG sensorIDs corresponding inote msg has been deleted on the server, the creation of the revision will fail. This has to be catched and dealt with.
Things to do: