Swipe/Scroll best practice with Java-Client 5

Using your method for Android, I get the below error in appium logs when I try for a horizontal swipe right to left. Using 5.0.4 and appium 1.7.2. Any ideas?

	t.press(1000, 1500).waitAction(Duration.ofMillis(1000)).moveTo(0, 1500).release().perform();

[HTTP] --> POST /wd/hub/session/cd1cd37c-110a-43c6-a808-b6ff3eac33ac/touch/perform {“actions”:[{“action”:“press”,“options”:{“x”:1000,“y”:1500}},{“action”:“moveTo”,“options”:{“x”:0,“y”:1500}},{“action”:“release”,“options”:{}}]}
[debug] [MJSONWP] Calling AppiumDriver.performTouch() with args: [[{“action”:“press”,“options”:{“x”:1000,“y”:1500}},{“action”:“moveTo”,“options”:{“x”:0,“y”:1500}},{“action”:“release”,“options”:{}}],“cd1cd37c-110a-43c6-a808-b6ff3eac33ac”]
[debug] [AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“element:touchDown”,“params”:{“x”:1000,“y”:1500}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“element:touchDown”,“params”:{“x”:1000,“y”:1500}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: touchDown
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Display bounds: [0,0][1080,1920]
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Performing TouchDown using element? false x: 1000, y: 1500
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:13,“value”:“Failed to execute touch event”}
[debug] [AndroidBootstrap] Received command result from bootstrap
[HTTP] <-- POST /wd/hub/session/cd1cd37c-110a-43c6-a808-b6ff3eac33ac/touch/perform 500 34 ms - 154

Best
Vince