I keep getting `Failed to commit. Status code: 500`
I keep getting
Failed to commit. Status code: 500Failed to commit. Status code: 500






concat("{caption}","my link","{/caption}","google.com") which I expected to give me a link on "my link" to google.com. Instead it gives a link to "https://<thoughtspot-server>.cloud/google.com". Is there some setting I have to turn off somewhere to get my links to not be appended to the server url?

disabledActions to turn off features. Would it make sense to switch to using visibleActions instead so we can control new features being added? Or is that approach likely to be problematic@hidden values or ones without documentation. Are these deprecated ones that have no effect?HostEvent.GetFilters but I am getting following error:HostEvents and I am getting the same error.
api/rest/2.0/metadata/liveboard/data). I call the API in onFilterChanged callback.createFormDataObjectWith to build the request bodytransient_pinboard_content and than in the example you use transient_content. Which one is correct? HostEvent.UpdateFilters for this purpose, but the problem is that triggering it on the EmbedEvent.LiveboardRendered event doesn’t update the liveboard because the charts aren’t completely loaded yet. Consequently, we have resorted to using setTimeout to delay the UpdateFilters process, which is not an ideal solution. The time needed for the timeout varies and can lead to errors in some cases (Please check the code snippet below).metadata/search - it's returning many more results than what would be expected (we are filtering on favorites for a given user). The problematic request/response is the second one in the HAR file.exportAnswerReport call works on the Typescript API? The return type is void which does not seem to make sense: https://github.com/thoughtspot/rest-api-sdk/blob/release/sdks/typescript/apis/ReportsApi.ts#L131[
{
columnName: 'True Open',
operator: RuntimeFilterOp.NOT_IN,
values: ['Bot', 'Likely a Bot'],
},
]concat("{caption}","my link","{/caption}","google.com")disabledActionsvisibleActions@hiddenHostEvent.GetFiltersError: Trigger timedout in getting response
at eval (processTrigger.ts:67:1)
This is the code I have:const Liveboard = () => {
const embedRef = useEmbedRef<typeof LiveboardEmbed>();
const getFilters: MessageCallback = useCallback(() => {
embedRef.current.trigger(HostEvent.GetFilters).then(console.log);
}, []);
return (
<LiveboardEmbed
ref={embedRef}
liveboardId={ID}
onLiveboardRendered={getFilters}
/>
);
};HostEventsapi/rest/2.0/metadata/liveboard/dataonFilterChangedcreateFormDataObjectWithbodytransient_pinboard_contenttransient_contentimport {
HostEvent,
LiveboardEmbed,
MessageCallback,
useEmbedRef,
} from '@thoughtspot/visual-embed-sdk/react';
const Liveboard = () => {
const embedRef = useEmbedRef<typeof LiveboardEmbed>();
const handleFilterChanged: MessageCallback = () => {
embedRef.current
.trigger(HostEvent.getExportRequestForCurrentPinboard)
.then(transientPinboardContent => {
fetch(
`${HOST}/api/rest/2.0/metadata/liveboard/data?metadata_identifier=${ID}`,
{
method: 'POST',
credentials: 'include',
body: JSON.stringify({
transient_content: transientPinboardContent,
}),
},
)
.then(response => response.json())
.then(console.log)
.catch(console.log);
});
};
return (
<LiveboardEmbed
ref={embedRef}
liveboardId={ID}
onFilterChanged={handleFilterChanged}
/>
);
};HostEvent.UpdateFiltersEmbedEvent.LiveboardRenderedsetTimeoutembed.on(EmbedEvent.LiveboardRendered, () => {
setTimeout(() => {
embed.trigger(HostEvent.UpdateFilters, {
filter: {
column: "Currency",
oper: "EQ",
values: [window.defaultCurrency]
}
})
}, 500);
});metadata/searchexportAnswerReportvoid