Direct Line Speech throw "actions of null" error when bot is on unsupported region
See original GitHub issueI was using this example to implement directline speech in webchat. Here is the script I used
<div id="webchat"></div>
<script>
(async function () {
const store = window.WebChat.createStore({}, ({ dispatch }) => next => action => {
if (action.type === 'DIRECT_LINE/CONNECT_FULFILLED') {
dispatch({
type: 'WEB_CHAT/SEND_EVENT',
payload: {
name: 'webchat/join',
value: 'name'
}
});
}
return next(action);
});
const adapters = await window.WebChat.createDirectLineSpeechAdapters({
fetchCredentials: {
region: 'region',
subscriptionKey: 'key'
}
});
window.WebChat.renderWebChat(
{
...adapters, store
},
document.getElementById('webchat')
);
document.querySelector('#webchat > *').focus();
})().catch(err => console.error(err));
</script>
seems like “…adapters” is not supported in Edge or IE, How can I change it so that it will be working in Edge and IE ?
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Use Direct Line Speech in your bot in Bot Framework SDK
Use Direct Line Speech with bots. See how bots can use a streaming capability based on WebSockets to exchange messages with this channel....
Read more >Bug listing with status RESOLVED with resolution OBSOLETE ...
Bug:1523 - "[IDEA] Offload work by distributing trivial ebuild maintenance to users, introduce a simple stability voting system and have a core team...
Read more >Your XAML Solutions for most common issues (WIKI POST ...
Error while running the main xaml. System.TypeLoadException: Could not load type 'UiPath.Core.Activities.TaskAsyncCodeActivity.
Read more >Automate Desktop and Automate Plus/Ultimate - Fortra
The Dataset (Create) activity no longer throws an error when a dataset name contains an expression. Focus now correctly returns to the Task...
Read more >All other Rome fixes - Product Documentation | ServiceNow
Putting any value on Decimal or Integer field throws an error in the console and ... The workspace form header UI actions cover...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m also facing this issue again, I have raised a support request from Azure. Will keep you updated, if i get to resolve this.
Hi, For me this issue was resolved without making any changes in code or configuration. I believe this issue was from the speech API side. It got resolved 3 to 4 days after reporting and it never occurred again.