# "sessionId" : null

**URL:** <https://discuss.appium.io/t/sessionid-null/32175>\
**Category:** Support\
**Created:** [October 23, 2020, 8:33pm UTC](https://discuss.appium.io/t/sessionid-null/32175 "2020-10-23T20:33:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tepmehatop](https://discuss.appium.io/user_avatar/discuss.appium.io/tepmehatop/32/8207_2.png) [@tepmehatop](https://discuss.appium.io/u/tepmehatop)\
**Post date:** [October 23, 2020, 8:33pm UTC](https://discuss.appium.io/t/sessionid-null/32175/1 "2020-10-23T20:33:11Z")

</div>

Hello dear friends,

Have some problem:  
**Prerequirements**  
Macos 10.15.7 Catalina (mac mini)

> Appium 1.18.3  
> node v12.18.1  
> npm 6.14.5

1. Installed the appium by npm install -g appium
2. installed dependencies ./Scripts/bootstrap.sh
3. added sing cert developer to xcode
4. When i opened WebDriverAgentRunner (/usr/local/lib/node\_modules/appium/node\_modules/appium-webdriveragent)
5. Real or simulator device the same problem
6. Products \> Test
7. Then i try to get status from device by IP  
[http://192.168.1.58:8100/\*\*status](http://192.168.1.58:8100/**status)\*\*

There i get **“sessionId” : null**  
No errors in logs

> Warning: Error creating LLDB target at path ‘/Users/User/Library/Developer/Xcode/DerivedData/WebDriverAgent-ciegwgvxzxdrqthilmrmczmqvrgu/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app’- using an empty LLDB target which can cause slow memory reads from remote devices.
> 
> **2020-10-23 22:39:14.394499+0300 WebDriverAgentRunner-Runner[51747:261042] Running tests…**
> 
> **Test Suite ‘All tests’ started at 2020-10-23 22:39:40.289**
> 
> **Test Suite ‘WebDriverAgentRunner.xctest’ started at 2020-10-23 22:39:40.350**
> 
> **Test Suite ‘UITestingUITests’ started at 2020-10-23 22:39:40.351**
> 
> **t = nans Suite Set Up**
> 
> **Test Case ‘-[UITestingUITests testRunner]’ started.**
> 
> **t = 0.00s Start Test at 2020-10-23 22:39:41.233**
> 
> **t = 0.09s Set Up**
> 
> **2020-10-23 22:39:41.357220+0300 WebDriverAgentRunner-Runner[51747:261042] Built at Oct 23 2020 22:34:03**
> 
> **2020-10-23 22:39:41.707255+0300 WebDriverAgentRunner-Runner[51747:261042] ServerURLHere-\>[http://192.168.1.58:8100](http://192.168.1.58:8100)\<-ServerURLHere**
> 
> **2020-10-23 22:39:41.716290+0300 WebDriverAgentRunner-Runner[51747:262574] Using singleton test manager**
> 
> **2020-10-23 23:00:12.296176+0300 WebDriverAgentRunner-Runner[51747:279728] [default] LaunchServices: disconnect event interruption received for service com.apple.lsd.mapdb**

> {  
> “value” : {  
> “message” : “WebDriverAgent is ready to accept commands”,  
> “state” : “success”,  
> “os” : {  
> “testmanagerdVersion” : 28,  
> “name” : “iOS”,  
> “sdkVersion” : “14.0”,  
> “version” : “14.1”  
> },  
> “ios” : {  
> “simulatorVersion” : “14.1”,  
> “ip” : “192.168.1.58”  
> },  
> “ready” : true,  
> “build” : {  
> “time” : “Oct 23 2020 22:34:03”,  
> “productBundleIdentifier” : “com.facebook.WebDriverAgentRunner”  
> }  
> },  
> **“sessionId” : null**  
> }

Hope for any ideas or help,  
Mark

 ![Screenshot%20at%20Oct%2023%2023-32-05](https://discuss.appium.io/uploads/default/original/2X/4/417d1538542ed3b60627dbf509786481340d26af.jpeg)

---

<div class="post-metadata">

**Author:** ![mykola-mokhnach](https://discuss.appium.io/user_avatar/discuss.appium.io/mykola-mokhnach/32/4578_2.png) [@mykola-mokhnach](https://discuss.appium.io/u/mykola-mokhnach)\
**Post date:** [October 24, 2020, 12:48pm UTC](https://discuss.appium.io/t/sessionid-null/32175/2 "2020-10-24T12:48:17Z")

</div>

> <https://github.com/appium/WebDriverAgent/issues/391>

---

<div class="post-metadata">

**Author:** ![tepmehatop](https://discuss.appium.io/user_avatar/discuss.appium.io/tepmehatop/32/8207_2.png) [@tepmehatop](https://discuss.appium.io/u/tepmehatop)\
**Post date:** [October 30, 2020, 8:18am UTC](https://discuss.appium.io/t/sessionid-null/32175/3 "2020-10-30T08:18:03Z")

</div>

The answer is: before need to send POST with capabilities to create session like this:  
POST [http://192.168.1.42:20001/session](http://192.168.1.42:20001/session)  
{“capabilities”:{}}

```auto
curl --location --request POST 'http://192.168.1.42:20001/session' \
--header 'Content-Type: application/json' \
--data-raw '{"capabilities":{}}'

```
