How to fix Sequence contains more than one element

Admin 0 Reputation points
2024-03-28T19:56:36.05+00:00

Hi,

I keep getting this error while trying to Generate a work order for an agreement booking date, Create a work order, or even Copy a project on Project Operations.

I have already tried checking the date we have on Dataverse for any duplicates but unable to identify which element is it. Here is a sample of the error

{

"error": {

"code": "0x80040265",

"message": "Sequence contains more than one element",

"@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionSourceKey": "Plugin/Microsoft.Dynamics.ScheduleCommon.Fps.FpsPlugin",

"@Microsoft.PowerApps.CDS.ErrorDetails.ApiStepKey": "f64c55bc-7402-4bcb-bf7e-3490ed16b0d4",

"@Microsoft.PowerApps.CDS.ErrorDetails.ApiDepthKey": "2",

"@Microsoft.PowerApps.CDS.ErrorDetails.ApiActivityIdKey": "36a37cfe-1361-40b0-9ac7-b71092fb56f1",

"@Microsoft.PowerApps.CDS.ErrorDetails.ApiPluginSolutionNameKey": "MicrosoftDynamicsScheduling3_CumulativePatch",

"@Microsoft.PowerApps.CDS.ErrorDetails.ApiStepSolutionNameKey": "MicrosoftDynamicsScheduling3_CumulativePatch",

"@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionCategory": "ClientError",

"@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionMessageName": "IsvAborted",

"@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionHttpStatusCode": "400",

"@Microsoft.PowerApps.CDS.ErrorDetails.OperationStatus": "0",

"@Microsoft.PowerApps.CDS.ErrorDetails.SubErrorCode": "-2146233088",

"@Microsoft.PowerApps.CDS.ErrorDetails.Plugin.PluginTrace": "[Microsoft.Dynamics.FieldService: Microsoft.Dynamics.FieldService.FieldServicePlugin]\r\n[94f83cac-7732-4bb9-9cff-8f92992dd953:
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,530 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.