Cant Scroll in a Hybrid Android App Webview Context

Can someone please help to do a scroll on Android Hybrid App Using Appium TouchAction, im using this method:

from appium.webdriver.common.touch_action import TouchAction
action = TouchAction(driver)
el = driver.find_element_by_css_selector(‘body’), y=-500).release().perform()

Traceback (most recent call last):
File “”, line 27, in

File “C:\Python27\lib\site-packages\appium\webdriver\common\”, line 94, in perform
self._driver.execute(Command.TOUCH_ACTION, params)
File “C:\Python27\lib\site-packages\selenium\webdriver\remote\”, line 196, in execute
File “C:\Python27\lib\site-packages\appium\webdriver\”, line 24, in check_response
super(MobileErrorHandler, self).check_response(response)
File “C:\Python27\lib\site-packages\selenium\webdriver\remote\”, line 103, in check_response
status = value[‘status’]
TypeError: string indices must be integers