UnsupportedCommandException: Unhandled endpoint error displayed when performing touch operations

I was able to resolve this issue by degrading the Webdriver agent to lower version instead of the latest version.

The tap functionality is removed in the latest version