cancel
Showing results for 
Search instead for 
Did you mean: 

IRPA-CAI-Notifier is not sending the message to the bot (error 404)

former_member768263
Discoverer

Hi,

I have created a simple automation with iRPA and also created an API trigger in order to run the bot with Chatbot.

The bot could be executed successfully through the API call but the CAI Notifier is not sending the message back to chatbot.

When I checked the job on cloud factory, I see the error:

Execution failed: HTTP status: '404 NOT_FOUND'Seems like the connection is not correct. But I just copied the URL, Client ID and Client Secret from the CAI. Everything should be right.

Could anyone help me with that?I would appreciate your help. Thanks 🙂

Update: I even got a new error message. See the last pic :

former_member1974
Participant
0 Kudos

I am facing same issue for long time. Not found any answer. Were you able to resolve the issue?

former_member768263
Discoverer
0 Kudos

Sadly no..

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member1974
Participant
0 Kudos

The solution is:

1. Provide runtime token (Runtime APIs) > Auth URL, Client and secret

2. Do not use BOT TOKEN, it will give not fond error instead go to Environment and use Request Token from your CAI bot setting

Former Member
0 Kudos

Hi abhimohpra17
I tried your method but I am still getting the same error :

Execution failed: HTTP status: '403 FORBIDDEN'
vishal_thulasi
Explorer
0 Kudos

Hi guanachen

Any update or solution on this issue?If so please provide the solution.

Thanks,
Vishal Thulasi.

former_member1974
Participant
0 Kudos

The solution is:

1. Provide runtime token (Runtime APIs) > Auth URL, Client and secret

2. Do not use BOT TOKEN, it will give not fond error instead go to Environment and use Request Token from your CAI bot setting

eshita_mahajan
Employee
Employee
0 Kudos

Hello Gaunchen,

Please make sure that the API credentials used are less than12 hours old and the token used is Developer token in CAI.

Recheck the notifer again after generating the designtime API.

Regards,

Eshita

former_member768263
Discoverer
0 Kudos

Hi Eshita,

thanks for your answer. I recreated the Designtime API credentials and I'm sure i'm using the Developer token in CAI. Still got the 404 error message.

Best regards,

Guanchen

eshita_mahajan
Employee
Employee
0 Kudos

Hi,

Please make sure that you follow the below steps:

1. Change tokens from Runtime APIs to Designtime APIs.

2. Using Webchat channels in CAI

3. Modify Skill -> Actions -> API Service Configuration -> Body (Refer Step by step SAP Intelligent RPA and SAP Conversational AI Integration blog). The conversation id used in RPA notifier should be same as what is used in API Service Configuration Body.

{
"invocationContext": {
"conversationid" : "{{conversation_id}}"
},
"input": {
"input1": "{{memory.XXXX.raw}}"
}
}

Regards,

Eshita