I have dataverse connectors to create premium planner inside power automate, but yesterday they start to raise those issues and i am unable to save the flow:-
Failed to retrieve dynamic inputs. Error details: 'Request to XRM API failed with server error: 'Message: An item with the same key has already been added. Code: 0x0 InnerError: Type: System.ArgumentException Message: An item with the same key has already been added. StackTrace: at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add) at Microsoft.OpenApi.OData.Generator.OpenApiSchemaGenerator.CreateStructuredTypePropertiesSchema(ODataContext context, IEdmStructuredType structuredType) at Microsoft.OpenApi.OData.Generator.OpenApiSchemaGenerator.CreateStructuredTypeSchema(ODataContext context, IEdmStructuredType structuredType, Boolean processBase, Boolean processExample) at Microsoft.OpenApi.OData.Generator.OpenApiSchemaGenerator.CreateStructuredTypeSchema(ODataContext context, IEdmStructuredType structuredType, Boolean processBase, Boolean processExample) at Microsoft.OpenApi.OData.Generator.OpenApiSchemaGenerator.CreateSchemas(ODataContext context) at Microsoft.OpenApi.OData.Generator.OpenApiComponentsGenerator.CreateComponents(ODataContext context) at Microsoft.OpenApi.OData.Generator.OpenApiDocumentGenerator.CreateDocument(ODataContext context) at Microsoft.OpenApi.OData.EdmModelOpenApiExtensions.ConvertToOpenApi(IEdmModel model, OpenApiConvertSettings settings) at Microsoft.Crm.Extensibility.OpenApi.Cache.OpenApiJsonModelCacheLoader.ConvertEdmModelToOpenApi(IEdmModel model, MemoryStream stream, IHttpContext httpContext) at Microsoft.Crm.Extensibility.OpenApi.Cache.OpenApiJsonModelCacheLoader.<>c__DisplayClass4_1.<ConvertEdmModelToOpenApiJson>b__2() at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable1 additionalCustomProperties) at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action) at Microsoft.Crm.Extensibility.OpenApi.Cache.OpenApiJsonModelCacheLoader.ConvertEdmModelToOpenApiJson(IEdmModel openApiEdmModel, IOrganizationContext context, IHttpContext httpContext) at Microsoft.Crm.Extensibility.OpenApi.Controller.CachingFlowOpenApiController.GetOrAddJsonModelAsync(OpenApiModelKey key, IHttpContext context) at Microsoft.Cds.Core.Caching.File.FileCache2.<>c__DisplayClass24_0.<<GetOrAddAsync>b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Cds.Core.Caching.File.FileCache2.<GetOrAddAsync>d__24.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Crm.Extensibility.OpenApi.Controller.CachingFlowOpenApiController.<ExecuteActionRequestAndCacheResponseAsync>d__11.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Crm.Extensibility.OpenApi.Controller.CachingFlowOpenApiController.<>c__DisplayClass6_0.<<GetAsync>b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Crm.Extensibility.OpenApi.Controller.CachingFlowOpenApiController.<GetAsync>d__6.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Threading.Tasks.TaskHelpersExtensions.<CastToObject>d__11.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__15.MoveNext() InternalException.Message: InternalException.StackTrace: '. The tracking Id is 'ec27b163-394d-4926-a6f5-3df075a06a2d'.'
now i checked what happended inside the environment ans seems we have a failed solution upgrade for "msdyn_MobileAppsSolution", as follow:-
here is the failure message:-
The uninstall operation will delete the base layer for the component 'Attribute' with id 'd93698f7-749b-4e20-953a-f70ffc82117f' and name 'msdyn_artifact'. The operation cannot continue because there are other managed layers over the base layer. You can use the solution layers to find out which other solutions are blocking the operation.
and when i try to force the upgrade on the affected solution i got this error:-
To use this action, you must first select the old solution and then try again. If you contact support, please provide the technical details.
so what is causing this failure? and how i can run the upgrade again?
Thanks