Search does not work when requesting with query parameter

Found in

EPiServer.ContentDeliveryApi 1.0.1

Fixed in

EPiServer.ContentDeliveryApi 2.1.0

Created

Jul 06, 2018

Updated

Oct 30, 2018

State

Closed, Fixed and tested


Description

Steps to reproduce:

  1. Go to Postman sending the request as follows:
    EPCMSHost/api/episerver/v1.0/search/content?query=alloy

Expected:
Service returns all matching content.

Actual:
Code 500 Internal Server Error

{
    "error": {
        "code": "InternalServerError",
        "message": "Unable to retrieve search response"
    }
}

Note: No issue when inputting personalize = true.