+ Start a Discussion
i@am.trinityi@am.trinity 

Trailhead Use Bulk API unit

Getting 
exceptionCode: InvalidSessionId
exceptionMessage: Unable to find session id.

My steps are:
1. /services/async/37.0/job
2.Request Headers -> Content-Type: application/json; charset=UTF-8
Accept: application/json
X-SFDC-Session:
Session Id from the previous unit SOAP API login() call
Also tryed to use the id from UserInfo.getSessionId()
3.Request Body
  {
  "operation" : "insert",
  "object" : "Account",
  "contentType" : "JSON"
}
 
Best Answer chosen by i@am.trinity
i@am.trinityi@am.trinity
The problem was that I was passing the Id on the new line
X-SFDC-Session:
XXXXX