web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Please Help: Unable to update SdkMessageProcessingStepImage table

(0) ShareShare
ReportReport
Posted on by 10

I am unable to update SdkMessageProcessingStepImage attribute "attributes" by code regardless I use front end (script) or back-end code (plugin). It is not issue of access permission because I still able to create new image record.
I am SysAdmin with read write access to the table:
pastedimage1650210575501v1.png

Here is the error I have "An unexpected error occurred." code: 2147746326

Here is the error.raw:
{
  "_errorCode": 2147746326,
  "_errorFault": {
    "_responseXml": null,
    "_errorCode": 2147746326,
    "_innerFault": {
      "_responseXml": null,
      "_errorCode": 0,
      "_innerFault": null,
      "_callStack": null,
      "_responseText": null,
      "_annotations": null,
      "_messages": [
        "An unexpected error occurred."
      ]
    },
    "_callStack": null,
    "_responseText": "{\"error\":{\"code\":\"0x80040216\",\"message\":\"An unexpected error occurred.\",\"@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionSourceKey\":\"Plugin/Microsoft.Crm.ObjectModel.SdkMessageProcessingStepImageService\",\"@Microsoft.PowerApps.CDS.ErrorDetails.ApiStepKey\":\"c9cdbb1b-ea3e-db11-86a7-000a3a5473e8\",\"@Microsoft.PowerApps.CDS.ErrorDetails.ApiDepthKey\":\"1\",\"@Microsoft.PowerApps.CDS.ErrorDetails.ApiActivityIdKey\":\"6e9555a0-1f2f-4c30-a728-78455a78c8cf\",\"@Microsoft.PowerApps.CDS.ErrorDetails.ApiPluginSolutionNameKey\":\"System\",\"@Microsoft.PowerApps.CDS.ErrorDetails.ApiStepSolutionNameKey\":\"System\",\"@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionCategory\":\"SystemFailure\",\"@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionMessageName\":\"UnExpected\",\"@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionHttpStatusCode\":\"400\",\"@Microsoft.PowerApps.CDS.HelpLink\":\""@Microsoft.PowerApps.CDS.InnerError.Message\":\"An">go.microsoft.com/.../ unexpected error occurred.\"}}",
    "_annotations": {
      "@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionSourceKey": "Plugin/Microsoft.Crm.ObjectModel.SdkMessageProcessingStepImageService",
      "@Microsoft.PowerApps.CDS.ErrorDetails.ApiStepKey": "c9cdbb1b-ea3e-db11-86a7-000a3a5473e8",
      "@Microsoft.PowerApps.CDS.ErrorDetails.ApiDepthKey": "1",
      "@Microsoft.PowerApps.CDS.ErrorDetails.ApiActivityIdKey": "6e9555a0-1f2f-4c30-a728-78455a78c8cf",
      "@Microsoft.PowerApps.CDS.ErrorDetails.ApiPluginSolutionNameKey": "System",
      "@Microsoft.PowerApps.CDS.ErrorDetails.ApiStepSolutionNameKey": "System",
      "@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionCategory": "SystemFailure",
      "@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionMessageName": "UnExpected",
      "@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionHttpStatusCode": "400",
      "@Microsoft.PowerApps.CDS.HelpLink": "">go.microsoft.com/.../
      "@Microsoft.PowerApps.CDS.InnerError.Message": "An unexpected error occurred."
    },
    "_messages": [
      "An unexpected error occurred."
    ]
  },
  "_message": "An unexpected error occurred.",
  "_exception": null,
  "_innerError": null,
  "_errorSource": 3,
  "_blockErrorReporting": false,
  "_stack": null,
  "_faultedRequestIndex": -1,
  "_clientRequestId": "3ee2486e-6bc4-4d0f-8a51-f4bb23becc91",
  "_serverResponseId": "0649130b-ca02-4245-b3a3-5f271bced025, 479d2884-bc4e-4022-b57a-b6d1e1faec8a",
  "_httpStatusCode": 400,
  "_retryAfter": null,
  "_date": "2022-04-17T15:18:50.000Z",
  "_isRequestTooLong": false,
  "message": "An unexpected error occurred.",
  "name": "Error",
  "stack": "No stack available.",
  "__action": {
    "source": {
      "actionType": "modernDataSource.execute.odata.async",
      "actionStack": "modernDataSource.execute.odata.async",
      "contextId": "44fdfd71-223e-4188-8bb9-b385459fbcdf"
    },
    "child": {
      "actionType": "oData.update.async",
      "actionStack": "oData.update.async",
      "contextId": "e38c6209-a6d4-4a91-a923-83cb53584209"
    }
  }
}

The code that I used to update the SdkMessageProcessingStepImage 
Xrm.WebApi.updateRecord("sdkmessageprocessingstepimage", '5c93db9d-fabc-ec11-9840-0022482af29f',{attributes:'catt_status,'}).then(
    ()=>{},
    async (er)=>{
        let json = er.raw;
        json = await JSON.parse(json);
        console.log(json.raw);
    }
);

Similarly, the code used to udpate the table in back end:
Entity imageTable  = new Entity("sdkmessageprocessingstepimage", new Guid('5c93db9d-fabc-ec11-9840-0022482af29f'));
imageTable["attributes"] = "statuscode";
service.Update(imageTable);


Thank you.

I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 94 Super User 2026 Season 1

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

#3
11manish Profile Picture

11manish 68

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans