I am attempting to make a request to the

I am attempting to make a request to the pinboard data API, but am receiving a 500 response, without a lot of detail when sending the QPs as recommended in these docs: https://developers.thoughtspot.com/docs/liveboard-data-api#_example_requests request
curl --location --request POST 'https://janetechnologies.thoughtspot.cloud/callosum/v1/tspublic/v1/pinboarddata?id=87f721f8-af74-4d81-af4c-e2650e7209c6&batchsize=-1&pagenumber=-1&offset=-1&formattype=COMPACT' \
--header 'X-Requested-By: ThoughtSpot' \
--header 'Accept: application/json' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: JSESSIONID=2bade875-430a-4d73-8d26-2d7ae2f3bf7c; clientId=4905c9ba-df5a-4f6d-9366-ea5f2135847a'
curl --location --request POST 'https://janetechnologies.thoughtspot.cloud/callosum/v1/tspublic/v1/pinboarddata?id=87f721f8-af74-4d81-af4c-e2650e7209c6&batchsize=-1&pagenumber=-1&offset=-1&formattype=COMPACT' \
--header 'X-Requested-By: ThoughtSpot' \
--header 'Accept: application/json' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: JSESSIONID=2bade875-430a-4d73-8d26-2d7ae2f3bf7c; clientId=4905c9ba-df5a-4f6d-9366-ea5f2135847a'
response
{
"code": 10000,
"incident_id_guid": "3a4289b5-91c5-4250-9c5d-4bcc7b53a20e",
"trace_id_guid": "3a4289b5-91c5-4250-9c5d-4bcc7b53a20e",
"debug": "[null]"
}
{
"code": 10000,
"incident_id_guid": "3a4289b5-91c5-4250-9c5d-4bcc7b53a20e",
"trace_id_guid": "3a4289b5-91c5-4250-9c5d-4bcc7b53a20e",
"debug": "[null]"
}
When I encode the params in the request body I get a 400 with a more detailed error, but it refers to a missing id, despite the fact the ID is included in the request. request:
curl --location 'https://janetechnologies.thoughtspot.cloud/callosum/v1/tspublic/v1/pinboarddata' \
--header 'X-Requested-By: ThoughtSpot' \
--header 'Accept: application/json' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: JSESSIONID=2bade875-430a-4d73-8d26-2d7ae2f3bf7c; clientId=4905c9ba-df5a-4f6d-9366-ea5f2135847a' \
--data-urlencode 'id=87f721f8-af74-4d81-af4c-e2650e7209c6' \
--data-urlencode 'batchsize=-1' \
--data-urlencode 'pagenumber=-1' \
--data-urlencode 'offset=-1' \
--data-urlencode 'formattype=COMPACT'
curl --location 'https://janetechnologies.thoughtspot.cloud/callosum/v1/tspublic/v1/pinboarddata' \
--header 'X-Requested-By: ThoughtSpot' \
--header 'Accept: application/json' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: JSESSIONID=2bade875-430a-4d73-8d26-2d7ae2f3bf7c; clientId=4905c9ba-df5a-4f6d-9366-ea5f2135847a' \
--data-urlencode 'id=87f721f8-af74-4d81-af4c-e2650e7209c6' \
--data-urlencode 'batchsize=-1' \
--data-urlencode 'pagenumber=-1' \
--data-urlencode 'offset=-1' \
--data-urlencode 'formattype=COMPACT'
400 response:
{
"code": 10002,
"incident_id_guid": "aaeb3288-d4ab-415c-984b-bf36fab54f42",
"trace_id_guid": "aaeb3288-d4ab-415c-984b-bf36fab54f42",
"debug": "[null,\"\"]",
"parameter": [
"Either of id or transientPinboardContent should not be empty."
]
}
{
"code": 10002,
"incident_id_guid": "aaeb3288-d4ab-415c-984b-bf36fab54f42",
"trace_id_guid": "aaeb3288-d4ab-415c-984b-bf36fab54f42",
"debug": "[null,\"\"]",
"parameter": [
"Either of id or transientPinboardContent should not be empty."
]
}
19 Replies
Casey-Jane
Casey-JaneOP•2y ago
This also happens in the swagger documentation tool
No description
bill_da_golfer
bill_da_golfer•2y ago
Hmm. I'm seeing the same thing. Let me raise this internally.
Mohamed Abdulla
Mohamed Abdulla•2y ago
@Casey-Jane Can you please let us the cluster version ?
RT
RT•2y ago
We tried internally on latest development version : Its working with below CURL request... curl 'http://172.19.174.73:8088/callosum/v1/tspublic/v1/pinboarddata?id=74852035-9624-4fac-b352-200fa8506b14&batchsize=-1&pagenumber=-1&offset=-1&formattype=COMPACT' \ -X 'POST' \ -H 'Accept: application/json' \ -H 'Accept-Language: en-GB,en-US;q=0.9,en;q=0.8' \ -H 'Content-Length: 0' \ -H 'Content-Type: application/x-www-form-urlencoded' \ -H 'Cookie: JSESSIONID=e9bfede0-c266-4338-91f1-a0c924bf63da; Callosum-Download-Initiated=false' \ -H 'Origin: http://172.19.174.73:8088' \ -H 'Proxy-Connection: keep-alive' \ -H 'Referer: http://172.19.174.73:8088/external/swagger/' \ -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36' \ --compressed \ --insecure It would help if you provide TS cluster version you are on, so that we can check if there was issue earlier. This is fairly simple API from usage point.
No description
No description
bill_da_golfer
bill_da_golfer•2y ago
To follow up, this appears to be an issue with v2 liveboards in 9.5+. So it will work with some older liveboards, but newer ones, such as those with tabs, will fail. Our engineering team is reviewing.
Casey-Jane
Casey-JaneOP•2y ago
Thanks for the update, and sorry for the delay in following up here. We are on a thoughtspot cloud instance (https://janetechnologies.thoughtspot.com), I'm not sure what cluster version is running there.
bill_da_golfer
bill_da_golfer•2y ago
If you click on the ? menu in the upper right corner and scroll down, you will see About ThoughtSpot. Click that and you'll get the version in the pop-up.
Casey-Jane
Casey-JaneOP•2y ago
Unfortunalye the menu does not appear when the "?" button is clicked. Tried in Chrome and Firefox
bill_da_golfer
bill_da_golfer•2y ago
Do you have any ad blockers or anything like that? I don't think it should matter, but that's a basic widget.
Casey-Jane
Casey-JaneOP•2y ago
Disable them :/ It's throwing a Uncaught TypeError: R.target.classList is undefined error when I click that button.
bill_da_golfer
bill_da_golfer•2y ago
I would consider a support ticket. But if you are on Saas version, then you are most likely on 9.5.cl
Casey-Jane
Casey-JaneOP•2y ago
Should I file a support ticket for the broken button and then API error? Or is the API error already tracked? Our data team got it, the version is 9.6.0.cl-168
bill_da_golfer
bill_da_golfer•2y ago
I would file both. The API is being tracked internally, but this was we can notify customers running into this issue.
Casey-Jane
Casey-JaneOP•2y ago
Looks like it's just me with that ? button bug so must be something with my browser.
bill_da_golfer
bill_da_golfer•2y ago
Seems like. I haven't seen that one. Maybe try in incognito and see if that works since no plug-ins would come into play.
Casey-Jane
Casey-JaneOP•2y ago
Ah, it's working now, must've been my ad blocker, sorry about that.
Casey-Jane
Casey-JaneOP•2y ago
But now it looks like I am not able to create a support case 😕
No description
Casey-Jane
Casey-JaneOP•2y ago
I'll reach out to our slack support about the support ticket issue.
Sandeep
Sandeep•17mo ago
The fix is done and changes are deployed from 9.8 release onwards. @Casey-Jane : Could you please confirm the support case Id so that we can plan for on-demand patch for the respective cluster version. Hello @Casey-Jane : Could you please confirm the Support ticket reference so that the fix can be applied to JaneTechnologies cluster in 9.7 release.

Did you find this page helpful?