The flow i build would update an article in Dynamics 365. But I get an error:
An error has occurred. update not allowed for field 'ProductNumber'
clientRequestId: c36265c5-1503-41cc-a9b7-e23ab93433af
{
"statusCode": 403,
"headers": {
"Pragma": "no-cache",
"x-ms-request-id": "c36265c5-1503-41cc-a9b7-e23ab93433af",
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
"X-Content-Type-Options": "nosniff",
"X-Frame-Options": "DENY",
"Timing-Allow-Origin": "*",
"x-ms-apihub-cached-response": "false",
"Cache-Control": "no-store, no-cache",
"Date": "Tue, 02 Mar 2021 15:16:06 GMT",
"Content-Length": "334",
"Content-Type": "application/json",
"Expires": "-1"
},
"body": {
"status": 403,
"message": "An error has occurred. update not allowed for field 'ProductNumber'\r\nclientRequestId: c36265c5-1503-41cc-a9b7-e23ab93433af",
"error": {
"message": "An error has occurred. update not allowed for field 'ProductNumber'"
},
"source": "******operations.dynamics.com",
"errors": []
}
}
Input:
{
"host": {
"connectionReferenceName": "shared_dynamicsax_1",
"operationId": "PatchItem"
},
"parameters": {
"dataset": "*****.operations.dynamics.com",
"table": "ReleasedProductsV2",
"id": "100,920000009",
"item/ItemNumber": "920000009",
"item/ProductNumber": "920000009",
"item/DYSBRLBusinessRuleStatusId": "10"
}
}
the flow:

Why do i get this error? When I send a patch directly in D365 f&o (import) it will work normal.