Hello
I have 3rd party app that use the Javascript SDK to create consult call.
PATCH /api/v2/conversations/{conversationId}/participants/{participantId}
POST /api/v2/conversations/calls/{conversation ID}/participants/{participant ID to replace}/consult
{
"speakTo": "DESTINATION",
"destination": {
"address": "+612xxxxxxxx"
}
}
//participant ID to replace is the caller's participant(customer) id
All working fine, However, i'm seeing below errors in the Genesys https://apps.mypurecloud.com.au/ console log.
stash-logger.js:341 ["Global Error Caught",{"error":{"name":"Error","message":"Property set failed: object in path "consultAgentParticipant" could not be found or was destroyed.","stack":"Error: Property set failed: object in path "consultAgentParticipant" could not be found or was destroyed.\n at https://dhqbrvplips7x.cloudfront.net/directory/10.65.0-4/assets/vendor-327ae58d86a393bbc4f90f503434dc56.js:3689:7\n at je (https://dhqbrvplips7x.cloudfront.net/directory/10.65.0-4/assets/vendor-327ae58d86a393bbc4f90f503434dc56.js:3689:120)\n at e.default (https://dhqbrvplips7x.cloudfront.net/directory/10.65.0-4/assets/web-directory-2e4aacce7998385e0320bb9d7cf1be11.js:12375:19)\n at https://dhqbrvplips7x.cloudfront.net/directory/10.65.0-4/assets/web-directory-2e4aacce7998385e0320bb9d7cf1be11.js:8330:212\n at https://dhqbrvplips7x.cloudfront.net/directory/10.65.0-4/assets/vendor-327ae58d86a393bbc4f90f503434dc56.js:2802:47\n at e.invokeWithOnError (https://dhqbrvplips7x.cloudfront.net/directory/10.65.0-4/assets/vendor-327ae58d86a393bbc4f90f503434dc56.js:2760:279)\n at e.flush (https://dhqbrvplips7x.cloudfront.net/directory/10.65.0-4/assets/vendor-327ae58d86a393bbc4f90f503434dc56.js:2751:92)\n at e.flush (https://dhqbrvplips7x.cloudfront.net/directory/10.65.0-4/assets/vendor-327ae58d86a393bbc4f90f503434dc56.js:2762:440)\n at e.end (https://dhqbrvplips7x.cloudfront.net/directory/10.65.0-4/assets/vendor-327ae58d86a393bbc4f90f503434dc56.js:2769:7)\n at e.run (https://dhqbrvplips7x.cloudfront.net/directory/10.65.0-4/assets/vendor-327ae58d86a393bbc4f90f503434dc56.js:2779:70)\n at e._runExpiredTimers (https://dhqbrvplips7x.cloudfront.net/directory/10.65.0-4/assets/vendor-327ae58d86a393bbc4f90f503434dc56.js:2815:114)\n at _boundRunExpiredTimers (https://dhqbrvplips7x.cloudfront.net/directory/10.65.0-4/assets/vendor-327ae58d86a393bbc4f90f503434dc56.js:2763:541)\n at nrWrapper (https://apps.mypurecloud.com.au/directory/:87:26066)","currentRoute":"admin","sidebarPanel":"acdInteractions","timeSinceLogin":529603}},{"activeConversations":["624f560b-6880-4ad7-8b1b-22da1e3e7609"]}]
Update.
Tested with standard Genesys 'consult' button, it also produce the same error, so it is not SDK related issue.