Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bf luis:build is calling a different endpoint if no --endpoint specified #1334

Open
dawwa opened this issue Jan 29, 2022 · 0 comments
Open
Labels
bug Indicates an unexpected problem or an unintended behavior. needs-triage The issue has just been created and it has not been reviewed by the team.

Comments

@dawwa
Copy link

dawwa commented Jan 29, 2022

Versions

@microsoft/botframework-cli/4.14.1 win32-x64 node-v16.13.2

Describe the bug

Error of
"Handling applications...
Luis build failed: The current API Key is calling host 'foo-luisauthoring-westus.cognitiveservices.azure.com' with custom subdomain of 'foo-luisauthoring-westus' which doesn't match the resource custom domain 'bar-luisauthoring-westus'."

Problem
The CLI does not complain for missing --endpoint, which is required according to the doc, but instead attempts to call a different endpoint foo, which I'm not sure where it loads the value from.

To Reproduce

bf luis:build --out C:\generated --authoringKey <foo's authoring key>--botName MyBot--suffix Test --force --log --luConfig C:\luConfigLuis.json

Adding the --endpoint worked around the issue.
--endpoint "https://bar-luisauthoring-westus.cognitiveservices.azure.com/"

@dawwa dawwa added bug Indicates an unexpected problem or an unintended behavior. needs-triage The issue has just been created and it has not been reviewed by the team. labels Jan 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or an unintended behavior. needs-triage The issue has just been created and it has not been reviewed by the team.
Projects
None yet
Development

No branches or pull requests

1 participant