04 September 2023 UPDATE:
First of all make sure you have the latest robot installed from https://www.robomotion.io/downloads
Currently the version is 23.8.1, download and install this version and see if the error persists.
This video will show you 3 main reasons why you might be getting the "Invalid Session Id" error.