Jack - Hey, can anyone help me regarding the PO...

Hey, can anyone help me regarding the POST /metadata/search endpoint? I have a particular TS token I'm using and it can get things like tags fine but I get an empty response for liveboards.
5 Replies
Jack
JackOP3mo ago
for reference, I've made some changes to the code my side regarding what it passes as the name for one of the groups. I didn't think it would affect this much though but it works fine in the dev and production versions of our app, which gets the liveboards as expected. Not sure if it's the fact my user is scoped to a specific org? but the liveboards exist in the same org as well
jbc
jbc3mo ago
cc @pallav
pallav
pallav3mo ago
@Jack have you tried using the liveboard GUID as the metadata identifier? could you please share your API payload? also, could you please try using "POST /api/rest/2.0/auth/token/validate" to verify if the token is generated for the same org the Liveboard is present in
Jack
JackOP3mo ago
hey @pallav, I've attached my validate response. The ORG_ID is correct. As far as payloads go, i've normally been doing this { "metadata": [{ "type": "LIVEBOARD" }] } I have also tried the below, with identifier and type together as well { "metadata": [{ "identifier": "084c1125-d0b9-4a8c-85eb-6cc833a5d410" }] }
Jack
JackOP3mo ago
I think it might be related to groups on our side. I've just assigned the user a different group and get a response back. Leave it with me thanks for your help yep all sorted now!

Did you find this page helpful?