An error has occurred. [object Object]UciError: GetClientMetadata failed due to System.IndexOutOfRangeException: Index was outside the bounds of the array. at Microsoft.Crm.ObjectModel.ConverterUtilities.GetTargetEntityType(IUserAndOrganizationContext context, String fieldName, EntityMetadata primeEntity) at Microsoft.Crm.ObjectModel.ConverterUtilities.GetDatasetsForLookupAbstract(Int32 objectTypeCode, IUserAndOrganizationContext context, Int32 formFactor, XmlNode customControlNode) at Microsoft.Crm.MetadataService.Utility.ClientMetadataHelper.GetClientCustomControlPropertiesAbstract(XmlNode customControlNode, CustomControlDefinition manifest, Int32 formFactor, Int32 objectTypeCode, ExecutionContext context) at Microsoft.Crm.MetadataService.Utility.ClientMetadataHelper.GetCustomControlItemsFromControlDescription(XmlNode controlConfigurationNode, Int32 formType, Int32 primaryEntityTypeCode, Boolean addCustomControlDetails, ExecutionContext context) at Microsoft.Crm.MetadataService.Utility.ClientMetadataHelper.GetCustomControlConfigurationAbstract(XmlDocument controlDescriptionXml, Int32 primaryEntityTypeCode, Int32 formType, Boolean addCustomControlDetails, ExecutionContext context) at Microsoft.Crm.Metadata.Generators.SystemFormGenerator.GetFormDescriptorWithControlProperties(Form formDescriptor, BusinessEntity entity, QueryContext queryContext, ExecutionContext context) at Microsoft.Crm.Metadata.Generators.SystemFormGenerator.GetFormJsonPayload(String formString, BusinessEntity entity, QueryContext queryContext, ExecutionContext context) at Microsoft.Crm.Metadata.Generators.SystemFormGenerator.Generate(CandidateItem itemToGenerator, Dictionary`2 payload, ExecutionContext context) at Microsoft.Crm.Metadata.ClientMetadataService.<>c__DisplayClass29_1.<GenerateMetadata>b__0(Boolean xrmTelemetryEnabled) at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties) at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action) at Microsoft.Crm.Metadata.ClientMetadataService.GenerateMetadata(MetadataSyncEventReporter eventReporter, Dictionary`2 roots, Dictionary`2 internalPayloadRepresentation, MetadataQuery clientMetadataQuery, ExecutionContext executionContext) at Microsoft.Crm.Metadata.ClientMetadataService.<>c__DisplayClass27_0.<AddClientMetadataFromRoots>b__1(Boolean traceEnabled) at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties) at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action) at Microsoft.Crm.Metadata.ClientMetadataService.AddClientMetadata(Dictionary`2 internalPayloadRepresentation, MetadataQuery clientMetadataQuery, ExecutionContext executionContext) at Microsoft.Crm.Metadata.ClientMetadataService.GetClientMetadataInternal(MetadataQuery clientMetadataQuery, ExecutionContext executionContext) at s (
content.powerapps.com/.../app.97d1b2e0f6b3c595a42132f5819e6f1c.js:33:902494) at new h (
content.powerapps.com/.../app.97d1b2e0f6b3c595a42132f5819e6f1c.js:28:146169) at h.fromLegacyErrorStatus (
content.powerapps.com/.../app.97d1b2e0f6b3c595a42132f5819e6f1c.js:28:148196) at _ (
content.powerapps.com/.../app.97d1b2e0f6b3c595a42132f5819e6f1c.js:28:150569) at Ca (
content.powerapps.com/.../mds.62fece5887c297bfafb7ae3e7627f5de.js:4:42103)