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.D0r #13376

Open
scumdog opened this issue Mar 9, 2025 · 3 comments
Open

bug report: AppStudioPlugin.D0r #13376

scumdog opened this issue Mar 9, 2025 · 3 comments
Assignees
Labels

Comments

@scumdog
Copy link

scumdog commented Mar 9, 2025

Unable to make API call to Developer Portal: API failed, Request failed with status code 404, API name: get-app-validation-requests, X-Correlation-ID: a567dacd-4232-478e-a129-97fce0c15217. This may be due to a temporary service error. Try again after a few minutes. data: {"errorMessage":"AppDefinition 'ae4e923b-5d55-4c4b-9aba-7552be5c9f85' not found for the user","errorCode":"NotFound"}

stack:
D0r: Unable to make API call to Developer Portal: API failed, Request failed with status code 404, API name: get-app-validation-requests, X-Correlation-ID: a567dacd-4232-478e-a129-97fce0c15217. This may be due to a temporary service error. Try again after a few minutes. data: {"errorMessage":"AppDefinition 'ae4e923b-5d55-4c4b-9aba-7552be5c9f85' not found for the user","errorCode":"NotFound"}
at Uv.wrapException (<REDACTED: user-file-path>/extension.js:213:43711)
at Uv.getAppValidationRequestList (<REDACTED: user-file-path>/extension.js:213:36916)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Uv. (<REDACTED: user-file-path>/extension.js:14:389828)
at m9t.validate (<REDACTED: user-file-path>/extension.js:847:3279)
at m9t. (<REDACTED: user-file-path>/extension.js:683:29369)
at m9t.execute (<REDACTED: user-file-path>/extension.js:847:2545)
at Zd.validateWithTestCases (<REDACTED: user-file-path>/extension.js:920:28281)
at Zd.bPc (<REDACTED: user-file-path>/extension.js:883:20672)
at Zd.wPc (<REDACTED: user-file-path>/extension.js:883:21917)
at Zd. (<REDACTED: user-file-path>/extension.js:14:389828)
at Zd.validateApplication (<REDACTED: user-file-path>/extension.js:920:27547)
at Zd. (<REDACTED: user-file-path>/extension.js:879:465473)
at Zd. (<REDACTED: user-file-path>/extension.js:14:389828)
at f_ (<REDACTED: user-file-path>/extension.js:2496:19391)
at Wxa (<REDACTED: user-file-path>/extension.js:2534:16018)
at Sw.h (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:112:41551)
at Sw.h (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:112:41551)

Copy link

👋 Hi @scumdog,

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:

The issue you are experiencing, where an API call to the Developer Portal fails with the error code 404, is already discussed in some relevant resources. Here are the possible related issues and steps for troubleshooting:

Relevant GitHub Issues:

  1. Issue bug report: AppStudioPlugin.DeveloperPortalAPIFailedError #10787:

    • Error Code: AppStudioPlugin.DeveloperPortalAPIFailedError
    • Message: API call to Developer Portal failed with status 404 for get-app-package. This might be due to a temporary service issue.
    • Actionable Steps:
      1. Retry the action after waiting a few minutes.
      2. Refer to related discussions in issue #10451 for additional details and potential solutions.

    Link: Issue #10787

  2. Issue bug report: AppStudioPlugin.DeveloperPortalAPIFailed #10079:

    • Error Message: API failed with a 404 status code for get-app-package.
    • Proposed Solutions:
      1. Wait a few minutes and retry the API call.
      2. Check related discussions in issue #10072 for further details.

    Link: Issue #10079

  3. Issue bug report: AppStudioPlugin.DeveloperPortalAPIFailed #10114:

    • Error: 404 status code for get-app-package.
    • Recommendation: Retry after a few minutes, as it may be an intermittent service issue.

    Link: Issue #10114

Documentation Reference on Handling Status Codes:

You may also find useful information on handling different status codes in the documentation:

Next Steps:

  1. Retry the API call after waiting for a few minutes.
  2. Check for related discussions in the referenced GitHub issues.
  3. Consult the documentation for handling similar API errors.

If the issue persists, consider reporting it in the Microsoft Teams Developer community for further assistance.


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 Mar 9, 2025
@Nivedipa-MSFT
Copy link

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

Reproduction Steps: What steps did you take leading up to the problem?
Documentation Links: Are there any specific guides or documentation you followed?
Manifest Package: Please share the manifest package for your app.

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

@anchenyi
Copy link
Contributor

anchenyi commented Mar 10, 2025

Hi @scumdog , based on the error message, the app you are validating was not found. Could you open the Teams Developer Portal and check if the app ID is listed in your account? If not, you might need to clean up the TEAMS_APP_ID in .env.dev and provision it again.

@summzhan summzhan removed the needs attention This issue needs the attention of a contributor. label Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants