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

bug report: AppStudioPlugin.fyr #13121

Open
tedley63 opened this issue Feb 3, 2025 · 13 comments
Open

bug report: AppStudioPlugin.fyr #13121

tedley63 opened this issue Feb 3, 2025 · 13 comments
Assignees
Labels
investigating TA:E2E Team Area: E2E upstream The issue is tracked external dependency

Comments

@tedley63
Copy link

tedley63 commented Feb 3, 2025

Unable to make API call to Developer Portal: API failed, BadRequest, API name: update-published-app, X-Correlation-ID: 62451846-12d0-4a2f-aaaa-32a4f000782b. Status code: 200. This may be due to a temporary service error. Try again after a few minutes. data: {"resultType":0,"result":null,"errorMessage":"BadRequest"}

stack:
fyr: Unable to make API call to Developer Portal: API failed, BadRequest, API name: update-published-app, X-Correlation-ID: 62451846-12d0-4a2f-aaaa-32a4f000782b. Status code: 200. This may be due to a temporary service error. Try again after a few minutes. data: {"resultType":0,"result":null,"errorMessage":"BadRequest"}
at Hv.wrapException (<REDACTED: user-file-path>/extension.js:213:43363)
at Hv.publishTeamsAppUpdate (<REDACTED: user-file-path>/extension.js:213:33604)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Hv. (<REDACTED: user-file-path>/extension.js:14:389828)
at xMt.publish (<REDACTED: user-file-path>/extension.js:829:13328)
at xMt. (<REDACTED: user-file-path>/extension.js:647:26429)
at xMt.execute (<REDACTED: user-file-path>/extension.js:829:11608)
at executeImpl (<REDACTED: user-file-path>/extension.js:681:4660)
at execute (<REDACTED: user-file-path>/extension.js:681:2382)
at zne.publish (<REDACTED: user-file-path>/extension.js:803:17779)
at zne. (<REDACTED: user-file-path>/extension.js:14:389828)
at Lf.publishApplication (<REDACTED: user-file-path>/extension.js:902:25662)
at Lf.DOc (<REDACTED: user-file-path>/extension.js:865:17276)
at Lf.VOc (<REDACTED: user-file-path>/extension.js:865:21543)
at Lf.$Oc (<REDACTED: user-file-path>/extension.js:865:20597)
at AOc (<REDACTED: user-file-path>/extension.js:865:17248)
at Lf. (<REDACTED: user-file-path>/extension.js:865:16413)
at Lf.FRc (<REDACTED: user-file-path>/extension.js:900:6512)
at Lf.HOc (<REDACTED: user-file-path>/extension.js:865:21842)
at Lf. (<REDACTED: user-file-path>/extension.js:14:389828)
at jE (<REDACTED: user-file-path>/extension.js:1677:18633)
at Object._wa [as callback] (<REDACTED: user-file-path>/extension.js:1699:18366)
at e.runCommand (<REDACTED: user-file-path>/extension.js:1677:15869)
at cw.h (file:///c:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:115:32825)
at cw.h (file:///c:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:115:32825)

This has been happening for the last few days... worked perfectly prior to that.

@microsoft-github-policy-service microsoft-github-policy-service bot added the needs attention This issue needs the attention of a contributor. label Feb 3, 2025
@sayali-MSFT
Copy link

@tedley63 , Thank you for your inquiry! Could you please provide more details about your issue? Specifically, it would be helpful to know:

  1. Reproduction Steps: What steps did you take leading up to the problem?
  2. Documentation Links: Are there any specific guides or documentation you followed?
  3. Code Snippets: If applicable, please share any relevant code snippets.

Providing this information will help us better understand your situation and assist you more effectively.

@tedley63
Copy link
Author

tedley63 commented Feb 4, 2025 via email

@MSFT-yiz MSFT-yiz added TA:E2E Team Area: E2E and removed needs attention This issue needs the attention of a contributor. labels Feb 5, 2025
@anchenyi
Copy link
Contributor

anchenyi commented Feb 5, 2025

Hi @tedley63, thanks for reporting this issue! Could you share your .zip package file for further investigation?

Copy link

👋 Hi @tedley63,

Thank you for reporting this issue! We want to let you know that:

⏱️ Our team will personally review your issue
🎯 You can expect a response within 2 business days

✨ This is an AI-generated initial response
🤖 AI-Generated Preliminary Analysis:

Based on the error message and stack trace you provided, it seems that you are encountering a BadRequest error when attempting to update a published app via the Developer Portal using the Teams Toolkit. The error message suggests it might be a temporary service issue.

Here are the details of the error:

  • Error Message: Unable to make API call to Developer Portal: API failed, BadRequest, API name: update-published-app, X-Correlation-ID: 62451846-12d0-4a2f-aaaa-32a4f000782b.
  • Status Code: 200
  • Error Type: BadRequest

Potential Solutions

  1. Retry the Operation:
    As the error message suggests, this may be due to a temporary service error. Wait for a few minutes and try the operation again. Temporary issues with the Developer Portal can sometimes resolve themselves.

  2. Check for Service Status:
    Ensure that the Developer Portal service is operational. Temporary service outages or issues can cause these kinds of errors.

  3. Verify API Call Details:
    Double-check the details of your API call to ensure all required fields and parameters are correctly provided. Sometimes, a BadRequest error can be due to incorrect or missing data in the request.

  4. Review Related Issues:
    Similar issues have been reported, and you can refer to them for additional context and potential solutions:

  5. Check Authorization Header:
    Ensure the Authorization header is correctly formed if the issue persists. This is particularly relevant if the error is related to authentication.

  6. Update App ID (if applicable):
    If you face conflicts with app IDs, you might want to manually update the app ID in the .env file and then try provisioning and publishing the app again.

Additional Resources

If the issue persists, you might consider reaching out to the Teams Toolkit support or checking the developer community forums for more assistance.

For reference, here are some useful links:

If you need further clarification or additional details, please let me know!


Note: This is an automated first response generated by AI. A human team member will review your issue and provide a more detailed response soon. We appreciate your patience!

@microsoft-github-policy-service microsoft-github-policy-service bot added the needs attention This issue needs the attention of a contributor. label Feb 5, 2025
@sayali-MSFT
Copy link

@tedley63, If possible, could you please provide the .zip package.

@adashen adashen added investigating needs more info Need user to provide more info and removed needs attention This issue needs the attention of a contributor. labels Feb 6, 2025
@tedley63
Copy link
Author

tedley63 commented Feb 6, 2025 via email

@microsoft-github-policy-service microsoft-github-policy-service bot added needs attention This issue needs the attention of a contributor. and removed needs more info Need user to provide more info labels Feb 6, 2025
@anchenyi
Copy link
Contributor

anchenyi commented Feb 7, 2025

Hi @tedley63 , I cannot find your attachment. Could you upload the .zip package in the github issue page? Thank you!

#13121

@tedley63
Copy link
Author

tedley63 commented Feb 7, 2025

Here is the requested zip package

appPackage.production.zip

@anchenyi
Copy link
Contributor

anchenyi commented Feb 8, 2025

Hi @tedley63, could you first validate your app package as shown below? I tried your package and got errors from your assets.

Image

@adashen adashen added needs more info Need user to provide more info and removed needs attention This issue needs the attention of a contributor. labels Feb 10, 2025
@tedley63
Copy link
Author

tedley63 commented Feb 13, 2025 via email

@microsoft-github-policy-service microsoft-github-policy-service bot added needs attention This issue needs the attention of a contributor. and removed needs more info Need user to provide more info labels Feb 13, 2025
@anchenyi
Copy link
Contributor

hi @tedley63, sorry that I cannot see attached zip package. Could you upload it in the github issue page. Thanks!

@tedley63
Copy link
Author

Updated zip package

appPackage.production.zip

@anchenyi
Copy link
Contributor

hi @tedley63, thanks for the detailed information. I can reproduce this issue on my end. It seems that this error comes from the Teams Developer Portal API. I'll reach out to the TDP team and get back to you ASAP. Sorry for the inconvenience.

@adashen adashen added upstream The issue is tracked external dependency and removed needs attention This issue needs the attention of a contributor. labels Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigating TA:E2E Team Area: E2E upstream The issue is tracked external dependency
Projects
None yet
Development

No branches or pull requests

5 participants