Gravatar for george.chang@perficient.com

Question by georgechang, Aug 17, 2015 2:57 PM

Coveo for Sitecore Installation Issue - 400 Bad Request for Coveo Search REST Endpoint

I'm doing a fresh install of Coveo for Sitecore on a new Sitecore site and I'm getting a 400 Bad Request for the Coveo Search REST Endpoint on the Diagnostics page.

When browsing to http://sitecore/coveo/rest, this is what shows up:

{"statusCode":400,"message":"Call returned SOAP fault: class CES::SearchServerException: No user has been provided for the search request.","type":"ServerReturnedSoapFaultException","executionReport":{"type":"RootReport","description":"","duration":13,"result":"Query(null,null,null,null,null,SortByRelevancy(),[],[],null,null,null,5,false,true,false,false,false,false,0,10,200,0,false,false,[])","childs":[{"type":"QueryPipelineReport","description":"Resolve identities","duration":0,"result":"ArrayBuffer(UserId(sitecore\admin,Sitecore Security Provider for xxxxxxxxx-sitecore,User,None,None))","childs":[]},{"type":"QueryPipelineReport","description":"Preprocess Query","logs":[{"severity":"INFO","message":"Applied ranking statements: .","timestamp":"+1"},{"severity":"INFO","message":"Applied top statements: .","timestamp":"+2"}],"duration":2,"result":"Query(null,null,null,null,null,SortByRelevancy(),[],[],null,null,null,5,false,true,false,false,false,false,0,10,200,0,false,false,[])","childs":[]}]},"results":[]}

Also, probably unrelated but as a side effect, on the diagnostics page it says that Coveo can't find a security provider for the instance default. Is there supposed to be one? Do I need to have a security provider?

1 Reply
Gravatar for slangevin@coveo.com

Answer by Simon, Aug 17, 2015 3:50 PM

Hi,

The Security provider is created during the first rebuild. Simply rebuild all your indexes to configure Coveo properly. It might indeed solve your REST issue at the same time.

Cheers,
Simon

Gravatar for george.chang@perficient.com

Comment by georgechang, Aug 17, 2015 3:56 PM

That did it! I knew I was missing something. Thanks!

Ask a question