You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Establish Sessions Error REST API

Accepted answer
15
Views
2
Comments
edited Apr 15, 2020 12:10PM in Communication Channels 2 comments

Summary

Cannot set contact email, name etc...

Content

I am trying to create a chat using REST API. When initiating a chat through establishSession endpoint, I have give details as shown  

{
 "sessionInformation": {
 "emailAddress" : "[email protected]", 
 "firstName" : "John",
 "lastName": "Smith", 
 "question" : "Refunds Issues"
 }
}

But it is showing an error like given below. Is there any solution.

"title": "An attempt to write a resource failed",
    "status": 400,
    "detail": "A problem setting a property was encountered: not an object; EstablishSession.SessionInformation",
"o:errorCode": "OSC-CREST-00006"
Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!