question

GkhanAldanmaz-4481 avatar image
0 Votes"
GkhanAldanmaz-4481 asked GkhanAldanmaz-4481 commented

Content Moderator SDK Delete Term method does not work with Turkish language

I am using content moderator SDK on my api but one method does not work. Every other method will work correctly but delete term method does not work. Can you help me for this method?

Packages and tools are;

-Visual Studio 2019 Community

-Microsoft.Azure.CognitiveServices.ContentModerator 2.0 nuget version

-PC Windows 10 last version

My method: await _contentModeratorClient.ListManagementTerm.DeleteTermWithHttpMessagesAsync(termListId, term, "tur");

I tried every way to delete term on exist term list but it did not work. Also status code is 204 with no content. If I create a term list with english language, deleteterm method works but it is Turkish language, deletetem method does not work. I guess there is a language problem in this method. Because other delete methods(deletelist etc) work fine. Why this delete method creates problem?

azure-cognitive-servicesazure-content-moderator
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello,

Sorry for your issue. Could you please share any code sample you are following or guidance you are referring to so that we can try to reproduce it?

Regards,
Yutong

0 Votes 0 ·

Hello,

We take reference these websites : SDK Sample ,Api Reference , Online code try. We tried all of these but these did not work with Turkish language. Also these ways return 204 no content if term does not exist in the term list. We don't understand term to be deleted or not becauese it always return no content. Could you give an error about this issue?

Best regards,
Thank you


0 Votes 0 ·
YutongTie-MSFT avatar image YutongTie-MSFT GkhanAldanmaz-4481 ·

Hello,

I failed to reproduce this issue and it worked for me well. I would highly recommend you to raise a support ticket in Azure portal. Please share the ticket number to me. Please let me know if you have no support plan and unable to do it, I can help you to enable a one-time-free ticket.

Regards,
Yutong

0 Votes 0 ·
Show more comments

1 Answer

YutongTie-MSFT avatar image
0 Votes"
YutongTie-MSFT answered GkhanAldanmaz-4481 commented

Thanks for the details you provided, I have forwarded this to product team. Could you please share your ticket number to me so that I can track as well? I may help expediate it as my best.

Regards,
Yutong

· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello,

Could you help me about creating a one-time-free-ticket for this issue? Because, I don't have a support plan yet.

Thank you.

0 Votes 0 ·
YutongTie-MSFT avatar image YutongTie-MSFT GkhanAldanmaz-4481 ·

Please share the Azure Subscription ID to me if you need one. Hope this helps! Thanks.


Regards,
Yutong

0 Votes 0 ·

Thank you for your interest,

My Azure subscripton id: adb1a40e-9a2a-4f4b-ad2a-65b98842aa35

0 Votes 0 ·
Show more comments