I am working on embedding Q Search Bar in a web portal. I am referring to this repo to embed the searchbar for anonymous users. I was successfully embed the searchbar till yesterday, but it has stopped working today. I am able to successfully generate the URL as mentioned in this AWS Doc.
I checked inspect element and I have been getting the following error which wasn’t there till yesterday:
Uncaught (in promise) DOMException: Failed to execute ‘postMessage’ on ‘Window’: Invalid target origin ‘’ in a call to ‘postMessage’.
I also noticed that Demo for Q search bar embedding provided in this post is also not working.
Can someone please guide on how to resolve this error?