OfficeDev / teams-toolkit

Developer tools for building Teams apps
Other
457 stars 187 forks source link

bug report: AppStudioPlugin.DeveloperPortalAPIFailedError #11675

Closed fushengwuy closed 4 months ago

fushengwuy commented 5 months ago

API call to Developer Portal failed: AxiosError, Request failed with status code 400, API name: create-bot, X-Correlation-ID: 0f567126-14c7-4a22-8b33-4eed498fa31b. This may come from some intermittent service error. Please wait for a few minutes and retry the current step. data: "The endpoint URL has an invalid value"

stack: DeveloperPortalAPIFailedError: API call to Developer Portal failed: AxiosError, Request failed with status code 400, API name: create-bot, X-Correlation-ID: 0f567126-14c7-4a22-8b33-4eed498fa31b. This may come from some intermittent service error. Please wait for a few minutes and retry the current step. data: "The endpoint URL has an invalid value" at Object.wrapException (:14:5652472) at handleBotFrameworkError (:14:5922114) at Function.createBotRegistration (:14:5925736) at processTicksAndRejections (node::95:5) at Function. (:14:6067221) at Object.createOrUpdateBotRegistration (:14:5930475) at CreateOrUpdateBotFrameworkBotDriver.handler (:14:5533513) at :14:5532447 at Object.wrapRun (:14:5962134) at CreateOrUpdateBotFrameworkBotDriver.execute (:14:5532400) at CreateOrUpdateBotFrameworkBotDriver. (:14:5625722) at Lifecycle.executeImpl (:14:5374957) at Lifecycle.execute (:14:5372114) at Coordinator.provision (:14:5418270) at Coordinator. (:14:6067221) at FxCore.provisionResources (:14:5995503) at FxCore.exports.EnvWriterMW (:14:5906563) at FxCore.exports.ContextInjectorMW (:14:6070973) at FxCore.exports.ConcurrentLockerMW (:14:6069924) at envLoaderMWImpl (:14:5906443) at FxCore. (:14:5905371) at FxCore.exports.ProjectMigratorMWV3 (:14:6101552) at FxCore.exports.ErrorHandlerMW (:14:6071470) at FxCore. (:14:6067221)

microsoft-github-policy-service[bot] commented 5 months ago

Thank you for contacting us! Any issue or feedback from you is quite important to us. We will do our best to fully respond to your issue as soon as possible. Sometimes additional investigations may be needed, we will usually get back to you within 2 days by adding comments to this issue. Please stay tuned.

kuojianlu commented 5 months ago

@fushengwuy It is possibly because the messagingEndpoint configured in botFramework/create in teamsapp.local.yml is invalid. Please confirm it's a valid https url and try again. Normally, the messagingEndpoint can be configured as ${{BOT_ENDPOINT}}/api/messages.

microsoft-github-policy-service[bot] commented 4 months ago

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.

microsoft-github-policy-service[bot] commented 4 months ago

Due to lack of details for further investigation, we will archive the issue for now. In case you still have following-up questions on this issue, please always feel free to reopen the issue by clicking ‘reopen issue’ button below the comment box. We will get back to you as soon as possible.