GatewayException: No session found. You must re-login

What could be the cause of this error on a client?

Here’s the exact error:

	caused by Exception: Error executing system.db.runPrepQuery(SELECT tooltypeid FROM equipment WHERE equipment = ?, , [HC_VIM05], )