Scanner gives "Invalid session" error.
To overcome this error a user needs to define the session through the File > Valid Session. You receive this error because the session wasn't properly set up. Use the image below to see exactly how to add the numbers for a session.