Gravatar for

Question by, Jul 24, 2017 11:43 AM

Authentication Methods (APi Key, Search Token) not authorized


i am trying both Authentication method APi Key, Search Token but its showing me error every time

    "statusCode": 401,
    "message": "Invalid token",
    "type": "InvalidTokenException",
    "executionReport": [

Please help me to resolve this issue so that i can start to consume the rest API.

1 Reply
Gravatar for

Answer by Jean-François L'Heureux, Jul 24, 2017 12:23 PM

Coveo for Sitecore provides a REST API proxy that handles all the authentication for you. It can be found at http://yourSitecoreInstance/coveo/rest

Gravatar for

Comment by, Jul 24, 2017 12:26 PM

Hi @Jean-François L'Heureux yes its helpful for the local development but we are using the rest api on CD server and other enviorment and instance name is diffrent so that's why we are using the cloud path ""

Gravatar for

Comment by, Jul 24, 2017 12:48 PM

@Jean-François L'Heureux but in that case anyone access this url and get the data,is there any way so that we can authenticate this url using any token or something else.

Ask a question