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
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
cc @pallav
@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
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"
}]
}
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!