Text Analytics API PII masking Error in some categories in piiCategories

Fatemeh Sharifi (Avanade) 1 Reputation point
2022-09-20T18:39:02.84+00:00

Hi,
I am trying to mask Quantities from a body of text using the Text Analytics PII API (as in Skillset in Azure search) and understand to do so I can use the Quantity category, but it gives me the following error while I try to pass "Quantity" in "piiCategories".
"Web Api response status: 'BadRequest', Web Api response details: '{"error":{"code":"InvalidRequest","message":"Invalid Request.","innererror":{"code":"InvalidParameterValue","message":"Invalid value for parameter 'piiCategories': 'Percentage', see valid categories at 'https://aka.ms/pii-cats'"}}}'"
However, when I pass some other categories such as "Person", "Organization" or even "Age" which is a subcategory of "Quantity" I do not get the error and the results are good.
I was wondering if you could let me know what to do so the "Quantity" parameter can become recognized.

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,853 questions
{count} votes