Skip to Content
Jul 29 at 07:13 AM

OAuth 2.0 giving 401- Unauthorized error in SAP CAI Bot APIs

165 Views Last edit Jul 29 at 11:59 AM 2 rev

I am using the Bot API for Conversations to fetch the conversation logs from my FAQ bot based on a Conversation ID. I am using OAuth 2.0 & using the Fetch entity values using API feature for testing.

But I am getting 401-Unauthorized error response from API. Attaching three screenshots for Bot, API & Response.

Kindly suggest what else needs to be done?

Bot Settings :

API Settings :

API Response:

Best Regards,

Hitesh Khandelwal.


bot-settings.jpg (95.2 kB)
api-settings.jpg (87.8 kB)
api-response.jpg (62.8 kB)