Forum Discussion

navya_0204's avatar
6 years ago

Error when viewing a endpoint

Hi guys,

I am receiving this error when trying a view the end point. whenever I use the end point in the code it throws me an error ''Error connecting to salesforce".

I tried postman App to test the API but it throws 401 Unauthorized error. This is the first time I am working on endpoints in lithium.

Can anyone help how to resolve this error.

 

Thank you in Advance!!

 

Regards

Navya 

  • Hi navya_0204 

    Can you please attach the code snippet you are using to fetch the response parameter for more details. Also please make sure you are passing the correct headers to salesforce API and that too base64 encoded.

    Thanks

  • navya_0204  - Did you check your request to Salesforce without a Khoros endpoint? It seems that your Salesforce request results in an error which can't be handled by your endpoint.