Authorization problem in action task sap c4c

Hi experts,

I am new to kore bots and I was successful in creating a bot with basic dialogue flow.I wanted to take it a step further and connect my bot to my sap c4c cloud tenant.I created an action task, choose Rest service as communication method,set up basic authentication with username and password.But when i test the authorization i get a success message even when i provide wrong credentials.
Here are the settings I configured :-
Auth Check URL :- “https://{tenant}.crm.ondemand.com/sap/c4c/odata/v1/c4codata”
Base URL: - “https://{tenant}.crm.ondemand.com”
Auth Fields :- “Content-Type” - “Application/json(Header)”
“Authorization” - “Basic {{Passphrase}}”

Experts please help me with this

Thanks and Regards
Giridhar

Hi Giridhar,

Thanks for writing to Kore community! Please go through the below documentation link to understand on how to configure a REST api call. This will provide enough insight into the execution.

https://developer.kore.ai/docs/bots/bot-builder/defining-bot-tasks/kore-bot-action-tasks/configuring-the-action-task-request-rest/

Thanks
Swathi