When using the PII filter, if the PII/PHI categories are left blank it returns an error message:
PII Filtering: Request failed with error:
ProviderMessage : StatusCode - 400, StatusDescription - BadRequest, Message - Invalid value for parameter ‘piiCategories’: ‘BENationalNumberV2’, see valid categories at ‘Entity categories recognized by Personally Identifiable Information (detection) in Azure AI Language - Azure AI services | Microsoft Learn’
Status: 400 (Bad Request)
ErrorCode: InvalidParameterValue
ProviderErrorCode : 400
Message : Bad Request
Status code: BadRequest. Error code: DAP-RT-1101.
This can be avoided by selecting categories and ensuring that Belgium national number v2 is not checked.