Hi,
While running a program that uses the Sdl.Community.GroupShareKit to export all the Groupshare Translation memories, in .gz form, from a Groupshare 2017 SR1 server, sometimes the program fails to export a TM. At the times that the program fails to export all TMs the TM that is not exported is different but the error received is:
System.AggregateException: One or more errors occurred. ---> Sdl.Community.GroupShareKit.Exceptions.ApiException: An error occurred with this API request
at Sdl.Community.GroupShareKit.Http.Connection.HandleErrors(IResponse response) in c:\Work\Git\groupsharekit.net\Sdl.Community.GroupShareKit\Http\Connection.cs:line 266
at Sdl.Community.GroupShareKit.Http.Connection.<RunRequest>d__22.MoveNext() in c:\Work\Git\groupsharekit.net\Sdl.Community.GroupShareKit\Http\Connection.cs:line 242
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Sdl.Community.GroupShareKit.Http.Connection.<Run>d__21`1.MoveNext() in c:\Work\Git\groupsharekit.net\Sdl.Community.GroupShareKit\Http\Connection.cs:line 232
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Sdl.Community.GroupShareKit.Http.ApiConnection.<Get>d__4`1.MoveNext() in c:\Work\Git\groupsharekit.net\Sdl.Community.GroupShareKit\Http\ApiConnection.cs:line 0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Sdl.Community.GroupShareKit.Clients.TranslationMemory.TranslationMemoriesClient.<ExportTm>d__13.MoveNext() in c:\Work\Git\groupsharekit.net\Sdl.Community.GroupShareKit\Clients\TranslationMemory\TranslationMemoriesClient.cs:line 277
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at System.Threading.Tasks.Task`1.get_Result()
at TMServe.GSTmReoBackUp.GSTmReoBackUp.ProcessGroupshareTMs()
---> (Inner Exception #0) Sdl.Community.GroupShareKit.Exceptions.ApiException: An error occurred with this API request
at Sdl.Community.GroupShareKit.Http.Connection.HandleErrors(IResponse response) in c:\Work\Git\groupsharekit.net\Sdl.Community.GroupShareKit\Http\Connection.cs:line 266
at Sdl.Community.GroupShareKit.Http.Connection.<RunRequest>d__22.MoveNext() in c:\Work\Git\groupsharekit.net\Sdl.Community.GroupShareKit\Http\Connection.cs:line 242
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Sdl.Community.GroupShareKit.Http.Connection.<Run>d__21`1.MoveNext() in c:\Work\Git\groupsharekit.net\Sdl.Community.GroupShareKit\Http\Connection.cs:line 232
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Sdl.Community.GroupShareKit.Http.ApiConnection.<Get>d__4`1.MoveNext() in c:\Work\Git\groupsharekit.net\Sdl.Community.GroupShareKit\Http\ApiConnection.cs:line 0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Sdl.Community.GroupShareKit.Clients.TranslationMemory.TranslationMemoriesClient.<ExportTm>d__13.MoveNext() in c:\Work\Git\groupsharekit.net\Sdl.Community.GroupShareKit\Clients\TranslationMemory\TranslationMemoriesClient.cs:line 277<---
Does anyone have an idea as to what might be wrong?
Thank you.