Cannot scroll on iOS real device - WebDriverException: Message: Unhandled endpoint

I’m using Robot Framework with Appium Library ( for test scripts for native iOS application on Real Device (iOS 10.3).

When using the keywords scroll, scroll down, scroll up with the appropriate element locators, or swipe and swipe by percent , I’m getting the error when executing the script:

WebDriverException: Message: Unhandled endpoint: /session/[SESSION ID]/execute – http://[IP]:8100/ with parameters { wildcards = ( “session/[SESSION ID]/execute” ); }

Appium version: 1.8.1