How to get the nowBotID & is it configurable?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2022 02:34 AM
How to get the nowBotID ? which is sent with the request from Inbound Rest Endpoint
https://<instance-url>/api/sn_va_as_service/bot/integration
Is nowBotID configurable, Can we pass our own ID?, And how to access it at the Outbound Response ?
Inbound request Body:
My Outbound Response at my endpoint:
{ "requestId": "asd2423-sda23-qwe23-we25", "clientSessionId": "", "nowSessionId": "", "message": { "text": "SENDING FROM POSTMAN", "typed": true, "clientMessageId": "ABC-123" }, "userId": "beth.anglin", "body": [ { "uiType": "OutputText", "group": "DefaultText", "value": "I am sorry but I didn't understand your request.", "maskType": "NONE" }, { "uiType": "OutputText", "group": "DefaultText", "value": "Please try giving me your request in a different way. I'm currently better at understanding short sentences.", "maskType": "NONE" } ], "score": 0 }
- Labels:
-
Virtual Agent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2023 10:30 PM
Yes it is Guest in sys_cs_conversation table. But i have configured the message_auth for new provider application records. anything to be configured extra in message_auth specifically for guest user issue?
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2023 10:33 PM
Can you try with some new userID?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2023 10:43 PM
Awesome, It worked with different user. But what is the issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2023 10:51 PM
Can tell for sure. Need proper steps to reproduce the issue.
But my best guess is, you might have sent some request for that user before message_auth was configured.
How to fix this:
Delete entries from provider_user_map and sys_cs_channel_user_profile table that were created for the previous userId
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2023 11:15 PM
Thank you so much for all the help. This is weird issue. i was searching from past 3 days.
Below step should fix the issue.
How to fix this:
Delete entries from provider_user_map and sys_cs_channel_user_profile table that were created for the previous userId