Unable to run ExecutedriverScript

Hi Team,

When try to run driver.executeDriverScript I am seeing the below error.
In Appium : No route found. setting context type to ‘plan/text’.
In eclipse console: Unable to determine T. Last characters read : T

Appium : 1.14.2
Java client : 7.2.0
org.openqa.selenium.json.JsonException: Unable to determine type from: T. Last 1 characters read: T

String script = “const el = await driver.getTitle();\n” + “console.log(el);”;

driver.executeDriverScript(script,new ScriptOptions().withTimeout(200)