Buil data table BUG

When i try to create a DTable through the “Build data table” activity and try to add value to the ROW cells via the activity i constantly get this message:

This is the full error message:

18.4.2+Branch.master.Sha.9888b477be8d3ec8a832306fc59c34ba6edad108

An internal error has occurred. It is recommended to restart UiPath Studio.

Error: System.InvalidOperationException: Two-way binding requires Path or XPath.
_ at System.Windows.Data.BindingExpression.CreateBindingExpression(DependencyObject d, DependencyProperty dp, Binding binding, BindingExpressionBase parent)_
_ at System.Windows.Data.Binding.CreateBindingExpressionOverride(DependencyObject target, DependencyProperty dp, BindingExpressionBase owner)_
_ at System.Windows.Data.BindingGroup.PrepareProposedValuesForUpdate(DependencyObject mentor, Boolean isUpdating)_
_ at System.Windows.Data.BindingGroup.UpdateAndValidate(ValidationStep validationStep)_
_ at System.Windows.Data.BindingGroup.CommitEdit()_
_ at System.Windows.Controls.DataGrid.OnExecutedCommitEdit(ExecutedRoutedEventArgs e)_
_ at System.Windows.Controls.DataGrid.OnExecutedCommitEdit(Object sender, ExecutedRoutedEventArgs e)_
_ at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)_
_ at System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)_
_ at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)_
_ at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)_
_ at System.Windows.UIElement.OnExecutedThunk(Object sender, ExecutedRoutedEventArgs e)_
_ at System.Windows.Input.ExecutedRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object target)_
_ at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)_
_ at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)_
_ at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)_
_ at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)_
_ at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)_
_ at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)_
_ at System.Windows.Input.RoutedCommand.Execute(Object parameter, IInputElement target)_
_ at System.Windows.Controls.DataGrid.EndEdit(RoutedCommand command, DataGridCell cellContainer, DataGridEditingUnit editingUnit, Boolean exitEditMode)_
_ at System.Windows.Controls.DataGrid.OnCurrentCellChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)_
_ at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)_
_ at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)_
_ at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)_
_ at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)_
_ at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)_
_ at System.Windows.DependencyObject.SetCurrentValueInternal(DependencyProperty dp, Object value)_
_ at System.Windows.Controls.DataGrid.set_CurrentCellContainer(DataGridCell value)_
_ at System.Windows.Controls.DataGrid.set_FocusedCell(DataGridCell value)_
_ at System.Windows.Controls.DataGridCell.OnAnyGotFocus(Object sender, RoutedEventArgs e)_
_ at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)_
_ at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)_
_ at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)_
_ at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)_
_ at System.Windows.FrameworkElement.OnGotFocus(RoutedEventArgs e)_
_ at System.Windows.UIElement.IsFocused_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e)_
_ at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)_
_ at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)_
_ at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)_
_ at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)_
_ at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)_
_ at System.Windows.DependencyObject.SetValue(DependencyPropertyKey key, Object value)_
_ at System.Windows.Input.FocusManager.OnFocusedElementChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)_
_ at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)_
_ at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)_
_ at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)_
_ at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)_
_ at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)_
_ at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)_
_ at System.Windows.Input.FocusManager.SetFocusedElement(DependencyObject element, IInputElement value)_
_ at System.Windows.Input.KeyboardNavigation.UpdateFocusedElement(DependencyObject focusTarget)_
_ at System.Windows.FrameworkElement.OnGotKeyboardFocus(Object sender, KeyboardFocusChangedEventArgs e)_
_ at System.Windows.Input.KeyboardFocusChangedEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)_
_ at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)_
_ at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)_
_ at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)_
_ at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)_
_ at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)_
_ at System.Windows.Input.InputManager.ProcessStagingArea()_
_ at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)_
_ at System.Windows.Input.KeyboardDevice.ChangeFocus(DependencyObject focus, Int32 timestamp)_
_ at System.Windows.Input.KeyboardDevice.TryChangeFocus(DependencyObject newFocus, IKeyboardInputProvider keyboardInputProvider, Boolean askOld, Boolean askNew, Boolean forceToNullIfFailed)_
_ at System.Windows.Input.KeyboardDevice.Focus(DependencyObject focus, Boolean askOld, Boolean askNew, Boolean forceToNullIfFailed)_
_ at System.Windows.Input.KeyboardDevice.Focus(IInputElement element)_
_ at System.Windows.UIElement.Focus()_
_ at System.Windows.Controls.DataGridCell.OnAnyMouseLeftButtonDown(MouseButtonEventArgs e)_
_ at System.Windows.Controls.DataGridCell.OnAnyMouseLeftButtonDownThunk(Object sender, MouseButtonEventArgs e)_
_ at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)_
_ at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)_
_ at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)_
_ at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)_
_ at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)_
_ at System.Windows.UIElement.OnMouseDownThunk(Object sender, MouseButtonEventArgs e)_
_ at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)_
_ at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)_
_ at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)_
_ at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)_
_ at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)_
_ at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)_
_ at System.Windows.Input.InputManager.ProcessStagingArea()_
_ at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)_
_ at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)_
_ at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)_
_ at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)_
_ at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)_
_ at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)_
_ at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)_
_ at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)_
_ at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler), HResult -2146233079_

Any help will be appreciated, thanks.

Make sure you do not have special characters like (. and , and _ etc) in your column names in the data table.

Well,

In C# this error comes during DB binding I believe.

Better to check the data table that you have build for exact match of Column names. So in the assign statement you might think that the column names being sent are correct but there might be a little space (also case sensitivity)

Also no special characters like @ameyadhanashri mentioned.

Cheers…!