Error while running the bot, kindly help

Please help,
I am getting this below mentioned error.

24.10.4-beta.17693+Branch.release-v24.10.4.Sha.23194d406b66452fd1dd41226b57a4ce8b842719.23194d406b66452fd1dd41226b57a4ce8b842719

Source: Assign: Find Unique Branch

Message: Column ‘BRANCH’ does not belong to underlying table ‘DataTable’.

Exception Type: System.ArgumentException

System.ArgumentException: Column ‘BRANCH’ does not belong to underlying table ‘DataTable’. at System.Data.DataView.ToTable(String tableName, Boolean distinct, String columnNames)
at Namespace_43f3.Main_Expressions.Main_Expressions_TypedDataContext3_ForReadOnly.__Expr10Get()
at Namespace_43f3.Main_Expressions.Main_Expressions_TypedDataContext3_ForReadOnly.ValueType___Expr10Get()
at Namespace_43f3.Main_Expressions.InvokeExpression(Int32 expressionId, IList1 locations, ActivityContext activityContext) at Microsoft.VisualBasic.Activities.VisualBasicValue1.Execute(CodeActivityContext context)
at System.Activities.Runtime.ActivityExecutor.ExecuteInResolutionContext[T](ActivityInstance parentInstance, Activity1 expressionActivity) at System.Activities.InArgument1.TryPopulateValue(LocationEnvironment targetEnvironment, ActivityInstance activityInstance, ActivityExecutor executor)
at System.Activities.ActivityInstance.InternalTryPopulateArgumentValueOrScheduleExpression(RuntimeArgument argument, Int32 nextArgumentIndex, ActivityExecutor executor, IDictionary2 argumentValueOverrides, Location resultLocation, Boolean isDynamicUpdate) at System.Activities.ActivityInstance.ResolveArguments(ActivityExecutor executor, IDictionary2 argumentValueOverrides, Location resultLocation, Int32 startIndex)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

Hi @Milan_Vora

I think BRANCH column not exist in your datatable. Check your excel or datatable the name is exist or not.

Regards,
Gowtham K

Check column name if it is having extra spaces and check spelling as well as it is case sensitive @Milan_Vora

Hello @Gowtham_K115 Thanks, The error is solved, as you mentioned the Branch column existed but there was extra words after that and once i sorted the same, the error was gone.

Thanks.

Hi @jast1631 Yes it worked, thanks

Welcome :hugs:
Kindly close the thread by marking solution as it will be helpful to others ! @Milan_Vora

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.