Full sample issues running locally #5395
Labels
Bot Services
Required for internal Azure reporting. Do not delete. Do not change color.
customer-reported
Required for internal Azure reporting. Do not delete.
question
Further information is requested. Stack Overflow candidate
I have a question
Hi, I'm following the tutorial on this page https://github.com/microsoft/BotFramework-WebChat/blob/main/samples/01.getting-started/a.full-bundle/README.md to run locally the the sample, but, when I try using the url directly or MockBot, all the time I have an error in this call
https://hawo-mockbot4-token-app.blueriver-ce85e8f0.westus.azurecontainerapps.io/api/token/directline
and In the console's browser I see this errors:a.full-bundle/:1 Access to fetch at 'https://hawo-mockbot4-token-app.blueriver-ce85e8f0.westus.azurecontainerapps.io/api/token/directline' from origin 'https://microsoft.github.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
a.full-bundle/:36
POST https://hawo-mockbot4-token-app.blueriver-ce85e8f0.westus.azurecontainerapps.io/api/token/directline net::ERR_FAILED 500 (Internal Server Error)
(anonymous) @ a.full-bundle/:36
(anonymous) @ a.full-bundle/:50
a.full-bundle/:50 TypeError: Failed to fetch
at a.full-bundle/:36:27
at a.full-bundle/:50:9
So, what I'm missing that the sample is not woking for me?
Regards.
The text was updated successfully, but these errors were encountered: