Remmelt
TFDThoughtSpot For Developers
•Created by Remmelt on 12/16/2024 in #dev-help
Hi Swarnika,
Thanks you I filled a ticket and will keep you updated
15 replies
TFDThoughtSpot For Developers
•Created by Remmelt on 12/16/2024 in #dev-help
Hi Swarnika,
Although I am not sure I fllow since we are on the free plan so we don't really have orgs at the moment
15 replies
TFDThoughtSpot For Developers
•Created by Remmelt on 12/16/2024 in #dev-help
Hi Swarnika,
Thanks!
15 replies
TFDThoughtSpot For Developers
•Created by Remmelt on 12/16/2024 in #dev-help
Hi Swarnika,
this is the request
fetch("http://team1.thoughtspot.cloud/callosum/v1/session/isactive", {
"headers": {
"authorization": "Bearer {"token":"<REDACTED>"}",
"x-requested-by": "ThoughtSpot",
"Referer": "http://localhost:8888/",
"Referrer-Policy": "strict-origin-when-cross-origin"
},
"body": null,
"method": "GET"
});
15 replies
TFDThoughtSpot For Developers
•Created by Remmelt on 12/16/2024 in #dev-help
Hi Swarnika,
this is the error
Access to fetch at 'https://team1.thoughtspot.cloud/callosum/v1/session/isactive' (redirected from 'http://team1.thoughtspot.cloud/callosum/v1/session/isactive') from origin 'http://localhost:8888' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
15 replies
TFDThoughtSpot For Developers
•Created by Remmelt on 12/16/2024 in #dev-help
Hi Swarnika,
Hi @shikharTS and @Swarnika ,
Thanks for the help, I had a follow up question. the token is now returned properly. However I am having some difficulty with the local testing.
After the token is returned the embedded component makes a request to 'session/isactive' which fails with a cors error. I already added the localhost with different ports to the cors whitelist but am still getting the same error.
Do you have any suggestions on how to approach this? I don't see the isactive endpoint mentioned in the documentation anywhere.
15 replies
TFDThoughtSpot For Developers
•Created by Remmelt on 12/16/2024 in #dev-help
Hi Swarnika,
yes, but the earlier suggestion put me on the right track. I had the ord id in the request. Once I removed it the request worked. Thanks!
15 replies