2640888 - API Call to search catalog (catalogSearch/v1/CatalogItems) returns "message": "missing search criteria filter information"

SAP Knowledge Base Article - Public

2640888 - API Call to search catalog (catalogSearch/v1/CatalogItems) returns "message": "missing search criteria filter information"

Symptom

When using API call [LMS_URL]/learning/odatav4/public/user/catalogSearch/v1/CatalogItems it is returning:

{
"error": {
"code": null,
"message": "missing search criteria filter information"
}
}

Environment

SuccessFactors Learning Management System (LMS)

Cause

There is no search criteria in the call. Mind that an open space after the 'CatalogItems' or 'CatalogItems?' also may be interpreted as no search criteria given.

Resolution

Make sure that a search criteria is given, similar to: [LMS_URL]/learning/odatav4/public/user/catalogSearch/v1/CatalogItems?$filter=criteria/searchPhrase eq 'test'

See Also

2318897 - LMS ODATA Webservices Knowledge Support and Tips

Keywords

Catalog search, API, OData, CatalogItems, search criteria, missing , KBA , LOD-SF-LMS-ODA , LMS Web Services OData , Problem

Product

SAP SuccessFactors Learning all versions