OfficeDev / teams-toolkit

Developer tools for building Teams apps
Other
453 stars 184 forks source link

bug report: AppStudioPlugin.DeveloperPortalAPIFailedError #12403

Open anandrathnas opened 1 day ago

anandrathnas commented 1 day ago

Unable to make API call to Developer Portal: AxiosError, Request failed with status code 422, API name: create-app, X-Correlation-ID: d2786883-94ae-4ecf-8c37-98ba30960085. This may be due to a temporary service error. Try again after a few minutes. data: "Value cannot be null. (Parameter 'accessToken')"

stack: DeveloperPortalAPIFailedError: Unable to make API call to Developer Portal: AxiosError, Request failed with status code 422, API name: create-app, X-Correlation-ID: d2786883-94ae-4ecf-8c37-98ba30960085. This may be due to a temporary service error. Try again after a few minutes. data: "Value cannot be null. (Parameter 'accessToken')" at wrapException (/extension.js:2:538531) at Object.importApp (/extension.js:2:544180) at processTicksAndRejections (node:internal/process/task_queues:95:5) at CreateTeamsAppDriver.create (/extension.js:2:581164) at CreateTeamsAppDriver. (/extension.js:2:492921) at CreateTeamsAppDriver.execute (/extension.js:2:579021) at Lifecycle.executeImpl (/extension.js:2:232111) at Lifecycle.execute (/extension.js:2:229268) at Coordinator.provision (/extension.js:2:272865) at Coordinator. (/extension.js:2:1045956) at FxCore.provisionResources (/extension.js:2:964918) at FxCore.exports.EnvWriterMW (/extension.js:2:871186) at FxCore.exports.ContextInjectorMW (/extension.js:2:1049708) at FxCore.exports.ConcurrentLockerMW (/extension.js:2:1048659) at envLoaderMWImpl (/extension.js:2:871066) at FxCore. (/extension.js:2:869964) at FxCore.exports.ProjectMigratorMWV3 (/extension.js:2:1080366) at FxCore.exports.ErrorHandlerMW (/extension.js:2:1050205) at FxCore. (/extension.js:2:1045956)

microsoft-github-policy-service[bot] commented 1 day 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.

github-actions[bot] commented 1 day ago

Based on the status code and API name in error message, this issue is duplicated with #11935. You can refer to it for more information.

jayzhang commented 21 hours ago

@anandrathnas Do you mind providing the project package (after clear the .env file) in "env" folder?