Issues with Appending on Excel Files in Studio Web

Hi All,

Is someone else having issues when Appending Records in Excel from Studio Web? I keep getting an error on Appending for a file and records that previously worked. Any feedback on this would be great? Below a screenshot and logs (very generic error).

Thanks,

Ryan

2025-11-19 13:03:01.460 CET: Error: UiPath.MicrosoftOffice365.Office365Exception: There was an internal error while processing the request.
at UiPath.MicrosoftOffice365.Activities.BaseLeafConnectionServiceActivityWithoutBindings.ExecuteAsync(AsyncCodeActivityContext context, CancellationToken cancellationToken)
at UiPath.Shared.Activities.AsyncTaskCodeActivityImplementation.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at UiPath.Shared.Activities.AsyncTaskCodeActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at UiPath.Shared.Activities.ContinuableAsyncCodeActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at UiPath.MicrosoftOffice365.Activities.Office365BaseClientActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
UiPath.MicrosoftOffice365.Office365InternalException: Code: GeneralException
Message: There was an internal error while processing the request.
Inner error:
Code: generalException
Message: There was an internal error while processing the request.
AdditionalData:
date: 2025-11-19T12:03:51
request-id: 7c6ed7f7-aeab-4fcb-941b-2153f37b6bb2
client-request-id: 7c6ed7f7-aeab-4fcb-941b-2153f37b6bb2
ClientRequestId: 7c6ed7f7-aeab-4fcb-941b-2153f37b6bb2

   at Microsoft.Graph.SimpleHttpProvider.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
   at Microsoft.Graph.BaseRequest.SendRequestAsync(Object serializableObject, CancellationToken cancellationToken, HttpCompletionOption completionOption)
   at Microsoft.Graph.BaseRequest.SendAsync[T](Object serializableObject, CancellationToken cancellationToken, HttpCompletionOption completionOption)
   at UiPath.MicrosoftOffice365.Excel.Extensions.ExcelExtensions.InsertRowsOrColumnsAsync(GraphServiceClient graphClient, DriveItem workbook, String sheetName, String startingCell, InsertShiftTypeMaster shiftType, Int32 insertAmount, CancellationToken cancellationToken)
   at UiPath.MicrosoftOffice365.Excel.Utilities.BaseRangeHandle.ResizeAsync(Nullable`1 rows, Nullable`1 columns, CancellationToken ct)
   at UiPath.MicrosoftOffice365.Excel.Extensions.IRangeExtensions.AppendDataToBottomAsync(IRange range, DataTable data, Boolean includeHeaders, CancellationToken ct)
   at UiPath.MicrosoftOffice365.Services.GraphServiceClientProxy.WriteRangeAsync(WriteRangeBaseRequest request, Boolean includeHeaders, Int32 rowOffset, Int32 columnOffset, CancellationToken ct)
   at UiPath.MicrosoftOffice365.Services.GraphServiceClientProxy.WriteRangeAsync(WriteRangeRequest request, CancellationToken ct)
   at UiPath.MicrosoftOffice365.Activities.Excel.WriteRangeConnections.<>c__DisplayClass54_0.<<SafeExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at UiPath.Productivity.Retry.Retry.ExecuteWithTimeout(Func`1 action, Func`2 exceptionFilter, TimeSpan retryTimeout, CancellationToken cancellationToken)
   at UiPath.Productivity.Retry.Retry.ExecuteWithTimeout(Func`1 action, Func`2 exceptionFilter, TimeSpan retryTimeout, CancellationToken cancellationToken)
   at UiPath.MicrosoftOffice365.Activities.Excel.WriteRangeConnections.SafeExecuteAsync(AsyncCodeActivityContext context, CancellationToken cancellationToken)
   at UiPath.MicrosoftOffice365.Activities.BaseLeafConnectionServiceActivityWithoutBindings.ExecuteAsync(AsyncCodeActivityContext context, CancellationToken cancellationToken)
	Microsoft.Graph.ServiceException: Code: GeneralException

Message: There was an internal error while processing the request.
Inner error:
Code: generalException
Message: There was an internal error while processing the request.
AdditionalData:
date: 2025-11-19T12:03:51
request-id: 7c6ed7f7-aeab-4fcb-941b-2153f37b6bb2
client-request-id: 7c6ed7f7-aeab-4fcb-941b-2153f37b6bb2
ClientRequestId: 7c6ed7f7-aeab-4fcb-941b-2153f37b6bb2

	   at Microsoft.Graph.SimpleHttpProvider.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
	   at Microsoft.Graph.BaseRequest.SendRequestAsync(Object serializableObject, CancellationToken cancellationToken, HttpCompletionOption completionOption)
	   at Microsoft.Graph.BaseRequest.SendAsync[T](Object serializableObject, CancellationToken cancellationToken, HttpCompletionOption completionOption)
	   at UiPath.MicrosoftOffice365.Excel.Extensions.ExcelExtensions.InsertRowsOrColumnsAsync(GraphServiceClient graphClient, DriveItem workbook, String sheetName, String startingCell, InsertShiftTypeMaster shiftType, Int32 insertAmount, CancellationToken cancellationToken)
	   at UiPath.MicrosoftOffice365.Excel.Utilities.BaseRangeHandle.ResizeAsync(Nullable`1 rows, Nullable`1 columns, CancellationToken ct)
	   at UiPath.MicrosoftOffice365.Excel.Extensions.IRangeExtensions.AppendDataToBottomAsync(IRange range, DataTable data, Boolean includeHeaders, CancellationToken ct)
	   at UiPath.MicrosoftOffice365.Services.GraphServiceClientProxy.WriteRangeAsync(WriteRangeBaseRequest request, Boolean includeHeaders, Int32 rowOffset, Int32 columnOffset, CancellationToken ct)
	   at UiPath.MicrosoftOffice365.Services.GraphServiceClientProxy.WriteRangeAsync(WriteRangeRequest request, CancellationToken ct)
	   at UiPath.MicrosoftOffice365.Activities.Excel.WriteRangeConnections.<>c__DisplayClass54_0.<<SafeExecuteAsync>b__0>d.MoveNext()
	--- End of stack trace from previous location ---
	   at UiPath.Productivity.Retry.Retry.ExecuteWithTimeout(Func`1 action, Func`2 exceptionFilter, TimeSpan retryTimeout, CancellationToken cancellationToken)
	   at UiPath.Productivity.Retry.Retry.ExecuteWithTimeout(Func`1 action, Func`2 exceptionFilter, TimeSpan retryTimeout, CancellationToken cancellationToken)
	   at UiPath.MicrosoftOffice365.Activities.Excel.WriteRangeConnections.SafeExecuteAsync(AsyncCodeActivityContext context, CancellationToken cancellationToken)
	   at UiPath.MicrosoftOffice365.Activities.BaseLeafConnectionServiceActivityWithoutBindings.ExecuteAsync(AsyncCodeActivityContext context, CancellationToken cancellationToken)

@Ryan_Beangstrom

Few things here

  1. Do you need headers also while appending?if not can you change to false and try
  2. Is the data having all headers properly in excel?
  3. Did it work before?

cheers