Cannot retrieve TM container name through TM API with GroupShare 2017 TMs

Hello there

 

I am trying to retrieve the container name for a GroupShare 2017 SR1 CU8 translation memory. I can retrieve TM properties such as the organization, but apparently not the container name.

tm.Container.Name returns the attached error. Anyone else ever ran into this one?

 

var server = new TranslationProviderServer(new Uri("http://servername"), false, "username", "password");

var tm = server.GetTranslationMemory("/tm", TranslationMemoryProperties.All);

MessageBox.Show(tm.Container.Name);

 

Screenshot of Trados Studio code with an error message dialog box. The error is 'System.AggregateException: Mindestens ein Fehler ist aufgetreten.' followed by 'HttpRequestException: Der Antwortstatuscode gibt keinen Erfolg an: 403 (Forbidden).'



Generated Image Alt-Text
[edited by: Trados AI at 10:37 AM (GMT 0) on 4 Mar 2024]