-
Notifications
You must be signed in to change notification settings - Fork 210
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: SpecParser.generate-failed #13337
Comments
👋 Hi @2BitSalute, Thank you for reporting this issue! We want to let you know that: ⏱️ Our team will personally review your issue ✨ This is an AI-generated initial response It seems that the error Here are the recommended steps and workarounds based on retrieved resources: Proposed Fixes and Solutions:
Next Steps:
By following these steps and referring to the solutions outlined, you should be able to troubleshoot and resolve the
|
Hi @2BitSalute, could you please provide more details on your issue, such as documentation/sample you have referred to/tried out along with repro steps? |
Sure thing, I thought you didn't need anything else since nothing else was logged or asked :) I believe I started from the custom engine tutorial, but then decided to try the declarative agent first, just using the wizard in the extension: This was on the pre-release version of the Teams Toolkit extension:
The agent was supposed to have an action associated with it. I chose the option to use an OpenAPI document, which was the downloaded version of this file: https://github.com/MicrosoftDocs/vsts-rest-api-specs/blob/8e0bf35364c7a26b0ff5979e9b87c521cf6a0ca0/specification/artifacts/7.2/feed.json One thing is that I did not yet have the Kiota extension installed. Perhaps that affects the behavior or is a required dependency. Since I've installed (the release version of) Kiota today, I tried again, and I didn't get any errors. |
Hi, @2BitSalute , this error occurred in Teams Toolkit 5.12.1, but we have already fixed this issue in Teams Toolkit 5.13.x. I tried your specification, and it works fine now in version 5.13.x. |
TypeError: Cannot read properties of undefined (reading 'schema')
stack:
generate-failed: TypeError: Cannot read properties of undefined (reading 'schema')
at SCr (<REDACTED: user-file-path>/extension.js:486:25525)
at Axo (<REDACTED: user-file-path>/extension.js:486:19139)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async O5r.post (<REDACTED: user-file-path>/extension.js:735:3220)
at async O5r.run (<REDACTED: user-file-path>/extension.js:610:66960)
at async O5r. (<REDACTED: user-file-path>/extension.js:610:39499)
at async zne.create (<REDACTED: user-file-path>/extension.js:803:7641)
at async zne. (<REDACTED: user-file-path>/extension.js:610:39499)
at async zne. (<REDACTED: user-file-path>/extension.js:14:389828)
at async Lf.createProject (<REDACTED: user-file-path>/extension.js:902:16292)
at async Lf. (<REDACTED: user-file-path>/extension.js:861:462725)
at async Lf.HOc (<REDACTED: user-file-path>/extension.js:865:21842)
at async Lf. (<REDACTED: user-file-path>/extension.js:14:389828)
at async jE (<REDACTED: user-file-path>/extension.js:1677:18054)
at async Object.Oyt [as callback] (<REDACTED: user-file-path>/extension.js:1699:17524)
at async e.runCommand (<REDACTED: user-file-path>/extension.js:1677:15869)
at async mw.h (file:///c:/Users/tarachev/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:112:32733)
The text was updated successfully, but these errors were encountered: