OfficeDev / teams-toolkit

Developer tools for building Teams apps
Other
458 stars 189 forks source link

bug report: AppStudioPlugin.Cyr #12573

Closed karthikparthasarathy closed 1 week ago

karthikparthasarathy commented 1 week ago

Unable to make API call to Developer Portal: Error, BadRequest, API name: update-published-app, X-Correlation-ID: 7be37c7b-c383-4e3a-83cc-06ae052b7dff. This may be due to a temporary service error. Try again after a few minutes. data: {"resultType":0,"result":null,"errorMessage":"BadRequest"}

stack: Cyr: Unable to make API call to Developer Portal: Error, BadRequest, API name: update-published-app, X-Correlation-ID: 7be37c7b-c383-4e3a-83cc-06ae052b7dff. This may be due to a temporary service error. Try again after a few minutes. data: {"resultType":0,"result":null,"errorMessage":"BadRequest"} at Cv.wrapException (/extension.js:212:61500) at Cv.publishTeamsAppUpdate (/extension.js:212:52804) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Cv. (/extension.js:14:389741) at async cIt.publish (/extension.js:767:13328) at async cIt. (/extension.js:595:26429) at async cIt.execute (/extension.js:767:11608) at async e.executeImpl (/extension.js:629:4660) at async e.execute (/extension.js:629:2382) at async Zte.publish (/extension.js:743:17599) at async Zte. (/extension.js:14:389741) at async Rf.publishApplication (/extension.js:848:25668) at async Rf.gTc (/extension.js:811:16106) at async Rf.DTc (/extension.js:811:20373) at async Rf.ATc (/extension.js:811:19427) at async hTc (/extension.js:811:16078) at async Rf. (/extension.js:811:15243) at async Rf.E7c (/extension.js:846:6474) at async Rf.ITc (/extension.js:811:20672) at async Rf. (/extension.js:14:389741) at async aw (/extension.js:1687:18215) at async Object.r2a [as callback] (/extension.js:1709:17044) at async e.runCommand (/extension.js:1687:15449) at async d.h (/Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:154:206473)

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

anchenyi commented 1 week ago

hi @karthikparthasarathy, thank you for reporting this issue. Based on the error message, it seems there might be a spike in the external Teams Developer Portal API. Could you try again to see if the issue persists? If it does, could you share your project code for further investigation? Thanks!

karthikparthasarathy commented 1 week ago

Hi ,

Issue is not yet resolved, Following is the log when I deploy and publish through teams toolkit ,

(√) Done: teamsApp/update was executed successfully. (√) Done: Teams app f391c7b5-0af2-4c96-85fd-da2377a2fc3a updated successfully (×) Error: teamsApp/publishAppPackage failed. (√) Done: Checking if the Teams app is already submitted to tenant App Catalog (√) Done: Teams app with id f391c7b5-0af2-4c96-85fd-da2377a2fc3a already exists in the organization's app store. (√) Done: Update published Teams app (×) Error: Unable to make API call to Developer Portal: Error, BadRequest, API name: update-published-app, X-Correlation-ID: fe6ff53c-b079-4014-a86d-9509b0f3612a. This may be due to a temporary service error. Try again after a few minutes. data: {"resultType":0,"result":null,"errorMessage":"BadRequest"}

[2024-10-23T07:55:11.245Z] [Error] - code:AppStudioPlugin.Cyr, message: Unable to make API call to Developer Portal: Error, BadRequest, API name: update-published-app, X-Correlation-ID: fe6ff53c-b079-4014-a86d-9509b0f3612a. This may be due to a temporary service error. Try again after a few minutes. data: {"resultType":0,"result":null,"errorMessage":"BadRequest"}

Hope this helps.

Thanks & Regards, Karthik Parthasarathy

anchenyi commented 1 week ago

hi @karthikparthasarathy, thanks for the information. Could you provide the zip package of your app? You can find the zip file at appPackage/build/appPakcage.dev.zip. Thanks.

karthikparthasarathy commented 1 week ago

Hi ,

Sure ,I have attached it .

Thanks & Regards, Karthik Parthasarathy


From: anchenyi @.> Sent: Wednesday, October 23, 2024 14:09 To: OfficeDev/teams-toolkit @.> Cc: Karthik Parthasarathy @.>; Mention @.> Subject: Re: [OfficeDev/teams-toolkit] bug report: AppStudioPlugin.Cyr (Issue #12573)

hi @karthikparthasarathyhttps://github.com/karthikparthasarathy, thanks for the information. Could you provide the zip package of your app? You can find the zip file at appPackage/build/appPakcage.dev.zip. Thanks.

— Reply to this email directly, view it on GitHubhttps://github.com/OfficeDev/teams-toolkit/issues/12573#issuecomment-2431320532, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BDKQX2P45TBZBHVTP3JGF63Z45OEPAVCNFSM6AAAAABQN7OCXOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZRGMZDANJTGI. You are receiving this because you were mentioned.Message ID: @.***>

anchenyi commented 1 week ago

hi @karthikparthasarathy , I cannot see the attached files. Could you upload the zip package in the github issue page? Thanks!

link: https://github.com/OfficeDev/teams-toolkit/issues/12573

karthikparthasarathy commented 1 week ago

appPackage.dev.zip

anchenyi commented 1 week ago

hi @karthikparthasarathy, this is a known issue with one of our external dependencies. Currently, the staticTabs.context only supports personalTab and channelTab. As a quick workaround, you will need to remove all others. I will continue to track this issue and keep you updated. Sorry for the inconvenience.

image

karthikparthasarathy commented 1 week ago

Yes ,after removing it is working .Thank you very much !!