Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Update Article Inventory=0 Single Article or Multi Article

1982luca
Level 8
Level 8

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