More information in error messages FAILED_PRECONDITION #644
pascalbe-dev
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Hi Pascal, Thank you for your feedback. Could you please paste the entire error/terminal log when you're getting this FAILED_PRECONDITION error? It's unclear to me right now how to trigger it. Thanks! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey guys, genkit is great and it works quite well for me to transform free text into structured output.
Problem
However, from time to time, I do get these FAILED_PRECONDITION errors and these are not so easy to debug.
First of all, the error message itself does not give me a hint on why the structure is incorrect. The only thing I can do to find that out is to:
This process is quite cumbersome and I do not always find a reason for why it fails.
Idea
It would be so awesome, if genkit could provide me feedback on why the JSON structure is incorrect. Ideally, directly in the error message. Then I can avoid this whole debugging process with the genkit dev server. I can even find the issues directly in the logs of my running app without touching my IDE and other dev tooling.
What do you think about this proposal?
And also: Is there a quicker way right now to debug these issues?
Beta Was this translation helpful? Give feedback.
All reactions