Hey team - we opened a ticket already (
Hey team - we opened a ticket already (https://community.thoughtspot.com/s/case/500Uk00000LnIz5IAF/login-fails-with-we-couldnt-complete-your-request). It seems that API calls on your side are failing. Could you please investigate further?
6 Replies
The APIs failing should not have any functional affect on your embedded application. Though I did see the liveboard GUID was coming as undefined in console logs. Can you check what liveboard GUID you are using?
For the 401 errors in the API we are already working on fixing them, but that is not the cause for error in this case.
This is the message - it has a functional impact on the app. If we use the search bar and click on anything it becomes responsive. But initial page load gives us this message.
We didn't even try to open any liveboard so can not provide you with GUID - this was when attempting to open homepage for the user on TS.
There are a few errors in the HAR file. But the main culprit I feel might be this error in console logs
Can you post the code snippet that you are using to embed liveboard. cc @Justin Mathew to also check
const pinboardId = this.route.snapshot?.queryParams?.['pinboardId'];
init({
thoughtSpotHost: host,
authType: AuthType.TrustedAuthTokenCookieless,
autoLogin: true,
username: username,
getAuthToken: () => lastValueFrom(this.analyticsService.getAuthToken()),
}).on(AuthStatus.SDK_SUCCESS, () => {
this.analyticsService.logIn();
});
const appEmbed = new AppEmbed(document.getElementById('ts-embed'), {
frameParams: {
width: '100%',
height: '99%',
},
showPrimaryNavbar: true,
isLiveboardHeaderSticky: true,
locale: this.languageService.getTsLanguageCode(),
path:
pinboard/${pinboardId}
})
One of the developers just reported that it may be in fact due to GUID mapping. We'll let you know.yup that is the case , @Nađa Bencan Sepic you can also inspect the actual thougthsptot iframe that is rendered and check its URL , that will give you a clue with certainty
do let us know if you need any further help