SAP Knowledge Base Article - Public

3661839 - An INVALID_ARGUMENT error Occurs When Applying a Filter to the Channel field in the Case Advanced Search.

Symptom

  • Error message: "Bad Request: INVALID_ARGUMENT: Error in SelectOption: channel. Name is not a valid attribute for entity: sap.crm.caseservice.entity.case."
  • Filtering results by "Channel Email Address" in case advanced search fails.
  • Filtering results by custom fields added to an entity list fails with the error: "Bad Request: INVALID_ARGUMENT: Error in SelectOption: extensions. is not a valid attribute for entity

Environment

SAP Sales Cloud and SAP Service Cloud Version 2.

 



Reproducing the Issue

  1. Navigate to the case work center.
  2. Click on Show advanced filter.
  3. Attempt to filter results using the "Channel Email Address" field.
  4. Observe the error message: "Bad Request: INVALID_ARGUMENT: Error in SelectOption: channel.Name is not a valid attribute for entity: sap.crm.caseservice.entity.case."

Cause

  • The "Channel Email Address" field has not been configured as "searchable" and "filterable" in the extensibility configuration.
  • This configuration issue also applies to custom fields added to the search.

Resolution

  1. Click on the User Menu.
  2. Navigate to the System Settings.
  3. Access Extensibility Administration in the SAP Sales Cloud and SAP Service Cloud Version 2.
  4. Navigate to Case > Field Query Properties.
  5. Configure the "Channel Email Address" field as "searchable" and "filterable."

Observation: Configuration must be manually repeated for any custom extension fields added to the search parameters to ensure consistent behavior. 

Keywords

channel field error, case advanced search, invalid argument, bad request, channel.name, field query properties, INVALID_ARGUMENT, extensibility administration, searchable, filterable, custom fields, SAP Sales/Service Cloud. , KBA , CEC-CRM-CAS , Case Management for SAP Sales/Service Cloud , Problem

Product

SAP Sales Cloud and SAP Service Cloud Version 2 1.0