Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
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

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" : "john.smith@vision.com", 
 "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"

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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