Connect-Rest is not fetching response eventhough service rest is working fine.

I have a requirement where we need to fetch customer details based on the customer ID the user enters,for this have created a service rest(GET),service package and a connect rest(GET).

However on executing this connector the results are not getting fetched.

Also while creating the connector rule when I was trying to run the Endpoint URL to get the response it was returning blank 401 result.

Please refer to the screenshot attached:

REST issue.docx (776 KB)

@TanyaS58

401 means authentication issue. I can see you have kept Requires Authentication checked in the Service Package rule. After unchecking you should be able to test out the response. Later you can implement your authentication as per your requirement.

@TanyaS58

Your request is not being authenticated because you have not included your login credentials. Please configure the Authenitcation Profile for Basic Authentication and try again (attached screenshot).

@SohamM95 sure will try this approach,however do I need to create the service package rule again as I tried to uncheck and save it but didn’t work.

@RameshSangili will check with your approach as well.