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

crit: Kiota.Builder.KiotaBuilder[0] error generating the client: The element to rename was not found Stream #4640

Closed
robsoh09 opened this issue May 10, 2024 · 7 comments · Fixed by #4668
Assignees
Labels
generator Issues or improvements relater to generation capabilities. type:bug A broken experience
Milestone

Comments

@robsoh09
Copy link

When running kiota, the end process reported crit: Kiota.Builder.KiotaBuilder[0] error generating the client: The element to rename was not found Stream.

How do we troubleshoot this?

@robsoh09 robsoh09 added the status:waiting-for-triage An issue that is yet to be reviewed or assigned label May 10, 2024
@baywet
Copy link
Member

baywet commented May 10, 2024

Hi @robsoh09
Thanks for using kiota and for reaching out.
This exception is thrown here

At this point your best option is probably to debug and step through.

You can additionally let us know details about the command you were running, and share the API description you were using.

@baywet baywet added question generator Issues or improvements relater to generation capabilities. status:waiting-for-author-feedback Issue that we've responded but needs author feedback to close and removed status:waiting-for-triage An issue that is yet to be reviewed or assigned labels May 10, 2024
@baywet baywet added this to Kiota May 10, 2024
@github-project-automation github-project-automation bot moved this to Needs Triage 🔍 in Kiota May 10, 2024
@baywet baywet added this to the Backlog milestone May 10, 2024
@robsoh09
Copy link
Author

hey thanks!
I was using the standard command kiota generate -l CSharp -c ApiClient -n BitGo.Client -d openapi.json -o ./Client https://developers.bitgo.com/api/openapi <-- openapi.json here

@baywet baywet added type:bug A broken experience and removed question Needs: Attention 👋 status:waiting-for-author-feedback Issue that we've responded but needs author feedback to close labels May 15, 2024
@baywet baywet moved this from Needs Triage 🔍 to In Progress 🚧 in Kiota May 15, 2024
@baywet baywet self-assigned this May 15, 2024
@baywet baywet modified the milestones: Backlog, Kiota v1.15 May 15, 2024
@baywet
Copy link
Member

baywet commented May 15, 2024

Thanks for the additional information. I uncovered a bug and put together #4668

@robsoh09
Copy link
Author

ok thanks hoping for a fix to test this asap :)

@github-project-automation github-project-automation bot moved this from In Progress 🚧 to Done ✔️ in Kiota May 16, 2024
@robsoh09
Copy link
Author

robsoh09 commented May 16, 2024 via email

@baywet
Copy link
Member

baywet commented May 16, 2024

a preview will go out later this afternoon (EST)
a minor will go out every first thurday of the month

@robsoh09
Copy link
Author

tested the release and it generated with warnings(due to the structure of the api.json) but completed successfully. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
generator Issues or improvements relater to generation capabilities. type:bug A broken experience
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants