In flow, I create one entity and then try to associate it with another using "Relate records".
I have been receiving the following error for some time:
OData id of the created entity:
https://orgf36dadf6.crm4.dynamics.com/api/data/v9.1/crea2_dekrets(7aa46f40-da83-ea11-a811-000d3aba3562)
Error I receive:
"body": {
"error": {
"code": "0x0",
"message": "The URI 'https://orgf36dadf6.crm4.dynamics.com/api/data/v9.1/crea2_dekrets(75f5b3e4-5a83-ea11-a811-000d3aba3562)' is not valid because it is not based on 'https://orgf36dadf6.crm4.dynamics.com/api/data/v9.0/'.",
"innererror": {
"message": "The URI 'https://orgf36dadf6.crm4.dynamics.com/api/data/v9.1/crea2_dekrets(75f5b3e4-5a83-ea11-a811-000d3aba3562)' is not valid because it is not based on 'https://orgf36dadf6.crm4.dynamics.com/api/data/v9.0/'.",
"type": "Microsoft.OData.ODataException",
"stacktrace": " at Microsoft.OData.UriParser.UriPathParser.ParsePathIntoSegments(Uri fullUri, Uri serviceBaseUri)\r\n at Microsoft.OData.UriParser.ODataUriParser.ParsePathImplementation()\r\n at Microsoft.OData.UriParser.ODataUriParser.Initialize()\r\n at Microsoft.Crm.Extensibility.OData.CrmEdmEntityReference.CreateCrmEdmEntityReference(Uri link, IEdmModel edmModel, CrmODataExecutionContext context, EntitySetSegment& entitySetSegment)\r\n at Microsoft.Crm.Extensibility.OData.EntityController.UpdateNavigationRefInternal(String entityName, String key, String navigation, Uri link)\r\n at Microsoft.Crm.Extensibility.OData.EntityController.PostNavigationRefImplementation(String entityName, String key, String navigation, Uri link)\r\n at Microsoft.Crm.Extensibility.OData.EntityController.<>c__DisplayClass20_0.<PostNavigationRef>b__0()\r\n at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute[TResult](ILogger logger, EventId eventId, ActivityType activityType, Func`1 func, IEnumerable`1 additionalCustomProperties)\r\n at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute[TResult](ILogger logger, XrmTelemetryActivityType activityType, Func`1 func)\r\n at lambda_method(Closure , Object , Object[] )\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__1.MoveNext()"
}
}
}
CDS creates an entity based on api version 9.1 and expects version 9.0 when trying to relate ? How can I solve that issue.
Deos anyone have similar problems ?
Best regards