Hello @Ryan Ruenroeng Welcome to Q&A forum,
Thank you for sharing the scenario on this forum and helping others! This is really helpful.
Updated: Resolution from @Ryan Ruenroeng
This was happening for ~90% of my runs. I was able to resolve my issue. To do this, I poured over the failing examples to try and find which API call would be representative of all of the rest of the calls. (Not omitting a property and such). I imported the schema using that example instead of the one I'd arbitrarily chosen. What would be neat would be if you could allow users to input some example APIs or an array of default values for the input parameters so that the full schema can be gleaned when importing.
Please Post an idea/feedback on the Microsoft IDEAS portal and we will be upvoting and others can comment, the Product team considers the feedbacks regularly and triage them.
Is this the issue frequent or intermittent?
I think we need to make sure that the data types of the source data match the data types of the target schema in your Delta Lake table.
As a troubleshooting step, you could temporarily modify your data flow to work with a static, predetermined schema that matches the expected structure. This will help identify if the issue lies with the dynamic schema or the data itself.
As Original poster can't accept their own answers/resolutions on this forum, I am posting the resolution from **Ryan Ruenroeng **as an Answer.
Please click "Accept Answer". So that we can close this thread.