Bot launched by IBM RPA Launcher fail with "Unauthorized" error

Bots that are launched with the IBM RPA Launcher throws the "Unauthorized" error message.

Symptoms

Bots launched with IBM RPA Launcher that run over 24 hours or continuously fail if they contain commands that require the launcher session token.

Causes

The failure occurs because the IBM RPA Launcher session token lasts only 24 hours, and some commands need the token to function.

Affected Offerings

IBM RPA on premises, IBM RPA on Red Hat® OpenShift® Container Platform, and IBM RPA SaaS.

Resolving this issue

To solve this issue, you must refresh the session each time it expires or consider another deployment option such as Running bots or Scheduling bots.