Doing POC on Virtual Agent API using Postman
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2024 02:56 AM
Hello,
Doing a POC following the documentation steps provided in https://docs.servicenow.com/bundle/vancouver-api-reference/page/integrate/inbound-rest/concept/bot-a...
Hitting the https://testabc.service-now.com/api/sn_va_as_service/bot/integration
with below request. Getting in response "Hi, looks like you're not logged in at the moment." not sure why, as the user is logged in and has all the roles and for testing provided admin role also.
Also posted the same request with ServiceNow Rest API explorer also, still the same issue in response.
If someone has any idea, please suggest.
Request:
Response:
Getting the response in logs as :
{
"requestId": "start-conv-test789",
"clientSessionId": "",
"nowSessionId": "",
"message": {
"text": "",
"typed": true,
"clientMessageId": "ABC-123"
},
"userId": "virtual.agent",
"body": [
{
"uiType": "OutputText",
"group": "DefaultText",
"value": "Hi, looks like you're not logged in at the moment.",
"maskType": "NONE"
},
{
"uiType": "TopicPickerControl",
"group": "DefaultPicker",
"nluTextEnabled": true,
"promptMsg": "To connect to a Live Agent, or to check what I can help with now, select Show me everything. To see more, log in first.",
"label": "Show me everything",
"options": [
{
"label": "Live Agent Support",
"value": "b489e7871b3a11503ed999bc1d4bcbe2",
"order": 300,
"promoted": true,
"enabled": true
}
]
}
],
"score": 1
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2025 07:02 AM
yes i did raised the case 🙂