Hi Stefan,
Sorry, hadn't noticed it is C#, for that, this function works correctly for me:
static void UpdateEntry()
{
KalturaClient client = new KalturaClient(GetConfig());
client.KS = client.GenerateSession(ADMIN_SECRET, USER_ID, KalturaSessionType.ADMIN, PARTNER_ID, 86400, "");
KalturaMediaEntry mediaEntry = new KalturaMediaEntry();
mediaEntry.Name = "Test";
mediaEntry.Description = "Testing...";
mediaEntry.Tags = "someTag1";
mediaEntry.CategoriesIds = "705,700";
mediaEntry = client.MediaService.Update("0_ogrgf4xp", mediaEntry);
}
Easiest way to try it is to add it to KalturaClientTester/KalturaClientTester.cs and call it from there as well.
in KalturaClientTester/KalturaClientTester.cs, you need to set
private const int PARTNER_ID = ; //enter your partner id
private const string ADMIN_SECRET = ""; //enter your admin secret
private const string SERVICE_URL = "";
And of course, change "0_ogrgf4xp" to a valid entry ID for your partner and "705,700" to valid cat IDs before running it.
You haven't mentioned which version of the clientlibs you are using or what server version you're using.
If your server version is 10.11.0 and above, I recommend you take the corresponding branch from:
https://github.com/kaltura/KalturaGeneratedAPIClientsCsharp
If this does not work for you, please provide a simple standalone code that I can run myself and the server version you are working against so I can further help you.
In that standalone code, please provide the actual literal values you are using, minus the secret of course, which you should never provide anyone with:)