URL did not map to a valid JSONWP resource

Hi folks,

I am getting the same error and am out of ideas on how to get around it
I have tried installing appium via npm and using the windows app
Server starts up ok but

when I try to access 127.0.0.1/wd/hub output is below and doesnt make sense - have tried changing ports as well and same results
URL did not map to a valid JSONWP resource

when I try to access 127.0.0.1/wd/hub/status the output is below and seems to be ok
{“status”:0,“value”:{“build”:{“version”:“1.2.4”,“revision”:“71584425ecf777349e3215f0f18e71e7782acfb6”}}}

when I try to access 127.0.0.1/wd/hub/session the output is below and makes sense as no capability is set
{“status”:13,“value”:“ERROR running Appium command: Cannot read property ‘capabilities’ of null”}

Any ideas on how to resolve this or is it a bug / issue ??

Thanks,
Ash

facing the some issue can any one help us

@Amit_Tallewar

try this http://127.0.0.1:4723/wd/hub

tried but same issue

can you share your code , how you are invoking the appium server

File appDir = new File(“E:\apkfile”);
File app = new File(appDir, “.apk”);
DesiredCapabilities cap = new DesiredCapabilities();
cap.setCapability(“Browser_Name”, “Android”);
cap.setCapability(“version”, “6.0”);
cap.setCapability(“deviceName”, “Emulater”);
cap.setCapability(“platformName”, “Android”);
cap.setCapability(“Apppackage”, “”);
cap.setCapability(“Appactivity”, “”);
cap.setCapability(“app”, app.getAbsolutePath());
driver = new RemoteWebDriver(new URL(“http://127.0.0.1:4723/wb/hub”),cap);