Expand my Community achievements bar.

Join us for an upcoming in-person Adobe Target Skill Builders event ~~> We're hosting these live learning opportunities to equip you with the knowledge and skills to leverage Target successfully. Learn more to see if we'll be coming to a city near you!

Update Article Inventory=0 Single Article or Multi Article

Avatar

Community Advisor

Hello guys,

 

I am trying to update inventory Article by using API , as showed below

 

END POINT "https://mc.adobe.io/{{TENANT_ID}}/target/recs/entities/:entityId?environment=1704&entityId=1234&inventory=0"

 

{
    "id""1234",
    "name""xxxx",
    "environment"1704,
    "attributes": {
        "createdAt""2019-07-05T09:48:26.244Z",
        "inventory"0,
        "lastUpdatedAt""2019-07-09T09:48:26.244Z",
        "message""xxx",
        "pageUrl""xxxx",
        "thumbnailUrl""xxxxx"
    }
}

but Iam getting this error 

{
    "httpStatus"500,
    "requestId""1xX7UZR7pCqJRbzWp9GoRHm2l23VeI8V",
    "requestTime""2021-09-27T09:05:21.401287Z",
    "errors": [
        {
            "errorCode""INTERNAL_SERVER_ERROR.Service",
            "message""Internal Server Error",
            "meta": {}
        }
    ]
}
Any idea how to understand the reason of this error?

 

0 Replies