I have formulated the botium.json file as suggested, still facing the same issue.
Please find the below botium.json file:-
{
“botium”: {
"Capabilities": {
"PROJECTNAME": "Sample Project",
"CONTAINERMODE": "directline3",
"DIRECTLINE3_SECRET": "DirectLine-Secret Key",
"DIRECTLINE3_BUTTON_TYPE": "message",
"DIRECTLINE3_BUTTON_VALUE_FIELD": "text",
"DIRECTLINE3_HANDLE_ACTIVITY_TYPES": "message,event",
"DIRECTLINE3_ACTIVITY_TEMPLATE": {
"channelData": {
"my-special-channel-data": "..."
}
},
"USER_INPUTS": [
{
"ref": "MEDIA",
"src": "MediaInput",
"args": {
"downloadMedia": true
}
}
]
}
}
}
Convo File:-
Ticket Creation
#me
Create a Ticket
#bot
OK, Let’s create an IT support request.
#bot
Please provide all required details
CARDS Please provide all required details
FORMS Title|Description|How urgent is your need?
BUTTONS Next|Cancel
#me
FORM summary | BotTicket12Apr17
FORM description | BotiumSummary
FORM action | Next
#bot
Do you want to add attachment to the ticket?
CARDS Do you want to add attachment to the ticket?
BUTTONS Yes | No
#me
Yes
#bot
Please attach the file from the message box using the attach functionality of Teams
(If attach icon is not visible, please upgrade the app using Team’s app store)
#me
MEDIA botium.png
#bot
Creating your support request. I will update you with the support request ID when the ticket creation is ready.
Error:-
Uncaught TypeError: Only absolute URLs are supported
at getNodeRequestOptions (node_modules\botium-connector-directline3\node_modules\node-fetch\lib\index.js:1327:9)
at C:\botium\node_modules\botium-connector-directline3\node_modules\node-fetch\lib\index.js:1440:19
at new Promise ()
at fetch (node_modules\botium-connector-directline3\node_modules\node-fetch\lib\index.js:1437:9)
at C:\botium\node_modules\botium-connector-directline3\dist\botium-connector-directline3-cjs.js:385:31
at new Promise ()
at BotiumConnectorDirectline3.UserSays (node_modules\botium-connector-directline3\dist\botium-connector-directline3-cjs.js:321:12)
at C:\botium\node_modules\botium-bindings\node_modules\botium-core\src\containers\PluginConnectorContainer.js:91:37
at C:\botium\node_modules\promise-retry\index.js:29:24