Hello David !
Thank you for posting on Microsoft Learn.
I think you are having an internal bug in the implementation of GPT-4.1-mini, specifically when it attempts to interface with the file search tool (likely related to the vector store or embedding compatibility).
You can use GPT-4o or GPT-4o-mini for now if you rely on file_search.
Clear the vector store or avoid complex file setups temporarily if GPT-4.1-mini must be used (though that limits usefulness).
For better assistance, try to report the bug to Microsoft Support.