Skip to main content
Luca_Lattarini
Level 9
September 27, 2021
Question

Update Article Inventory=0 Single Article or Multi Article

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?

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.