cancel
Showing results for 
Search instead for 
Did you mean: 

How to retrieve OAuth token using "Designtime APIs" credentials of FAQ bot in an another bot.

sridhar_thiyagarajan
Participant
0 Kudos

Hi,

I am looking for consuming an answer for a FAQ question asked from "Retrieve Answers" bot by connecting to "FAQ" bot using a "Fallback" mechanism.

While doing so, I had created "Designtime APIs" token in FAQ bot and while consuming the same from the other bot as shown below,

Always, getting the below error.

Have anyone faced this error. Kindly assist on the same.

View Entire Topic
Dan_Wroblewski
Developer Advocate
Developer Advocate
0 Kudos

Why not use the OAuth2 authentication settings UI for doing this part for you:

I get a CORS error but this would be the way to do it.

Can you explain more fully what you are trying to do?

sridhar_thiyagarajan
Participant
0 Kudos

Thanks a lot for the suggestion .. Daniel. I was trying to consume an answer response of FAQ bot through its DesignTime APIs from an another bot.

Dan_Wroblewski
Developer Advocate
Developer Advocate
0 Kudos

OK, thanks. I was just confused by "design-time", since it seemed you simply wanted to call the runtime API to send a test (utterance) and get a response.