It seems that I am running into a size limit while entering schema in the structure output panel while using Gemini Flash 2.0. It works on small schema but as soon as I exceed a size (which I don’t know) it gives an error and says that Invalid Argument
. Also, it seems the required feild defined by JSON Schema Org has a different weight.
1 Like
Hi @Dhruv_Shah, Welcome to the forum!!!
If possible, can you share your schema or a dummy schema of same size to repro the issue.
Thanks.
Thanks for the reply!
The problem I was facing is that responseSchema has a character limit. My schema was exceeding that limit hence it was throwing an error.
Are you still facing any issue or is it resolved?? Please reach out if issue still persists. Thanks.