wisdomClient.call() doesn't work
- Dominant language
- JavaScript
- Stars
- 14
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
I'm using GetContact to get 'getContactCommand' object just like here:
https://github.com/aws/amazon-connect-wisdomjs#getcontact
and then passing it to `wisdomClient.call(getContactCommand)` to get the session ARN but it doesn't get called
And in the console I get this error
`Failed to execute 'postMessage' on 'DOMWindow': The target origin provided does not match the recipient window's origin ('https://localhost:3000').`
I'm using the last versions of connect-streams and connect-wisdomjs
Contributor guide
Research direction
Start with the getContact example and the wisdomClient.call(getContactCommand) entry point, then reproduce the browser postMessage origin error at https://localhost:3000. Done means the command is called successfully and returns the session ARN without the target-origin error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100