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

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

ErrorCode: -2147088246 and ErrorCode: -2147220891 together

(0) ShareShare
ReportReport
Posted on by 95

Hi There,

Recently our plugin usually got both errors:  ErrorCode: -2147088246 and ErrorCode: -2147220891 together.

The error log is as follows:

>Crm Exception: Message: The requested record matches a specified If-None-Match version., ErrorCode: -2147088246
[2020-09-14 07:22:27.634] Process: w3wp |Organization:58078d9c-5266-e711-80ee-00505681424d |Thread: 30 |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level:

Error |ReqId: ebff96cb-4b52-4c9a-8a11-1be98e9a8356 |ActivityId: ebff96cb-4b52-4c9a-8a11-1be98e9a8356 | CrmODataUtilities.Trace ilOffset = 0x24
>{"Error":{"InnerError":null,"Message":"CrmHttpException: The requested record matches a specified If-None-Match version."}}
[2020-09-14 07:22:58.869] Process: w3wp |Organization:58078d9c-5266-e711-80ee-00505681424d |Thread: 8 |Category: Platform |User: ed9ca5b0-a307-4b85-a2f8-98d62e82e256 |Level:

Error |ReqId: 622fa309-d0bb-4d4f-a750-980207a85111 |ActivityId: 622fa309-d0bb-4d4f-a750-980207a85111 | MessageProcessor.Execute ilOffset = 0x206
>MessageProcessor fail to process message 'RetrieveMultiple' for 'dapi_harassment'.
[2020-09-14 07:22:58.869] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread: 8 |Category: Exception |User: 00000000-0000-0000-0000-000000000000 |Level:

Error |ReqId: 622fa309-d0bb-4d4f-a750-980207a85111 |ActivityId: 622fa309-d0bb-4d4f-a750-980207a85111 | ExceptionUtility.CreateCrmExceptionFromServiceFault ilOffset = 0x1B
at ExceptionUtility.CreateCrmExceptionFromServiceFault(FaultException`1 fe) ilOffset = 0x1B
at PlatformCommand.XrmExecuteInternal() ilOffset = 0xBC
at RetrieveMultipleCommand.Execute() ilOffset = 0x0
at RetrieveMultipleCommand.RetrieveData() ilOffset = 0x0
at ApplicationQuery.ExecuteQuery() ilOffset = 0x0
at GridDataProviderQueryBuilder.GetData(QueryBuilder queryBuilder) ilOffset = 0x14
at GridDataProviderQueryBuilder.LoadQueryData() ilOffset = 0x132
at GridDataProviderQueryBuilder.LoadData() ilOffset = 0x0
at GridDataProviderBase.PrepareGridData() ilOffset = 0x6
at GridDataProviderBase.PrepareData() ilOffset = 0xE8
at GridUIProvider.Render(HtmlTextWriter output) ilOffset = 0xA5
at DataGrid.RenderInnerHtml(HtmlTextWriter output) ilOffset = 0x1E
at DataGrid.Render(HtmlTextWriter output) ilOffset = 0x119
at Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) ilOffset = 0x22
at CrmUIControlBase.RenderControl(HtmlTextWriter writer) ilOffset = 0xD
at Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) ilOffset = 0x53
at HtmlContainerControl.Render(HtmlTextWriter writer) ilOffset = 0xE
at Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) ilOffset = 0x22
at Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) ilOffset = 0x53
at HtmlContainerControl.Render(HtmlTextWriter writer) ilOffset = 0xE
at Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) ilOffset = 0x22
at Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) ilOffset = 0x53
at HtmlContainerControl.Render(HtmlTextWriter writer) ilOffset = 0xE
at Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) ilOffset = 0x22
at Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) ilOffset = 0x53
at HtmlContainerControl.Render(HtmlTextWriter writer) ilOffset = 0xE
at Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) ilOffset = 0x22
at CrmUIControlBase.RenderControl(HtmlTextWriter writer) ilOffset = 0xD
at Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) ilOffset = 0x53
at HtmlContainerControl.Render(HtmlTextWriter writer) ilOffset = 0xE
at Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) ilOffset = 0x22
at Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) ilOffset = 0x53
at HtmlContainerControl.Render(HtmlTextWriter writer) ilOffset = 0xE
at Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) ilOffset = 0x22
at Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) ilOffset = 0x53
at HtmlContainerControl.Render(HtmlTextWriter writer) ilOffset = 0xE
at Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) ilOffset = 0x22
at EntityHomepage.Render(HtmlTextWriter writer) ilOffset = 0x127
at Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) ilOffset = 0x22
at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) ilOffset = 0x8A4
at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) ilOffset = 0x3C
at Page.ProcessRequest() ilOffset = 0x14
at Page.ProcessRequest(HttpContext context) ilOffset = 0x38
at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() ilOffset = 0x18D
at HttpApplication.ExecuteStepImpl(IExecutionStep step) ilOffset = 0x64
at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) ilOffset = 0x15
at PipelineStepManager.ResumeSteps(Exception error) ilOffset = 0x27A
at HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) ilOffset = 0x31
at HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) ilOffset = 0xB0
at PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) ilOffset = 0x131
at PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) ilOffset = 0x0
at UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) ilOffset = 0xFFFFFFFF
at UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) ilOffset = 0xFFFFFFFF
at PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) ilOffset = 0x1E7
at PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) ilOffset = 0x0
>Crm Exception: Message: OrganizationServiceFault, ErrorCode: -2147220891
[2020-09-14 07:22:58.869] Process: w3wp |Organization:58078d9c-5266-e711-80ee-00505681424d |Thread: 8 |Category: Application |User: 00000000-0000-0000-0000-000000000000 |Level:

Error |ReqId: 622fa309-d0bb-4d4f-a750-980207a85111 |ActivityId: 622fa309-d0bb-4d4f-a750-980207a85111 | ErrorLookup.GetError ilOffset = 0x29

Is any solution for this error?

Thank you very much.

I have the same question (0)
  • Suggested answer
    Pankaj Gogoi Profile Picture
    3,177 on at
    RE: ErrorCode: -2147088246 and ErrorCode: -2147220891 together

    Hello,

    Are you using If-None-match header with Post request, It shouldn't be used with Post?

    You can add a header with "Cache-Control":"no-cache" header to these requests and see if it resolves. The other could be related to null reference or permission issue. You can debug your plugin code and should be able to identify the issue.

    Best Regards

    PG

  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at
    RE: ErrorCode: -2147088246 and ErrorCode: -2147220891 together

    HI,

    As per Microsoft Docs error code represents Web API Error.

    0x8006088A

    -2147088246 Name: CrmHttpError

    Message: A failure occurred in Wep Api in Dynamics 365.

    Are you calling WEB API from your plugin code?

    Don't do that instead use Organizationservice from your plugin code.

    docs.microsoft.com/.../web-service-error-codes

    Please mark my answer verified if i were helpful

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 83 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 57 Most Valuable Professional

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 52 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans