I have enabled extended logging via localStorage.debug = 'looker:chatty:*' in my code. When I do that I get a lot of events that have a message “looker:chatty:host window received invalid”
{
bubbles: false
cancelBubble: false
cancelable: false
composed: false
currentTarget: Window {0: global, 1: global, window: Window, self: Window, document: document, name: '', location: Location, …}
data: "{\"type\":\"page:properties:changed\",\"height\":846,\"page\":{\"absoluteUrl\":\"https://redacted.com/embed/dashboards-next/39?&redacted\",\"url\":\"/embed/dashboards-next/39?redacted\"}}"
defaultPrevented: false
eventPhase: 0
isTrusted: true
lastEventId: ""
origin: "https://redacted.com"
path: [Window]
ports: []
returnValue: true
source: null
srcElement: Window {0: global, 1: global, window: Window, self: Window, document: document, name: '', location: Location, …}
target: Window {0: global, 1: global, window: Window, self: Window, document: document, name: '', location: Location, …}
timeStamp: 4397.30000000447
type: "message"
userActivation: null
}
This message is cryptic. What does it mean?
Can’t edit for some reason, here’s a screenshot:
We ran into this a couple of weeks back. For us it was related to the initialization.
LookerEmbedSDK.init(env.lookerEmbedUrl, env.lookerSignUrl);
The embedded url must match the origin.