Hi i am getting below error.kingdly help me to getout from this

java.lang.IllegalArgumentException: argument type mismatch
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.openqa.selenium.remote.JsonToBeanConverter.convertBean(JsonToBeanConverter.java:269)
at org.openqa.selenium.remote.JsonToBeanConverter.convert(JsonToBeanConverter.java:223)
at org.openqa.selenium.remote.JsonToBeanConverter.convert(JsonToBeanConverter.java:43)
at org.openqa.selenium.remote.HttpCommandExecutor.createResponse(HttpCommandExecutor.java:527)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:388)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:416)

Kindly give more detailed explanation of the activity you were trying to perform when you got this error.

Appium version?
Platform?
did you get this error in desired capabilities ?

I believe you are trying to use Java Reflection concept to invoke a particular method but that method is overloaded with different arguments. But while invoking the method you are not providing proper arguments to it which is causing the above exception.
So if you post the code, I can try to help you out. :smile: