https://github.com/aws/aws-iot-device-sdk-js/blob/master/examples/browser/mqtt-explorer/index.js
I'm using the example code from github to connect to my aws iot core.
upon running the code i get the following error
WebSocket connection to "websocket url" failed: Error during WebSocket handshake: Unexpected response code: 403
i'm using cognito unauthenticated role with full access AWS IOT policy.
what could be the issue here?