Hello Alvaro,
Thank you for your patience and for sharing your feedback on the Q&A community platform. I’m glad to hear that you were able to resolve your issue, and I appreciate you sharing your solution! Your contribution is valuable and can help others in the community facing similar challenges.
As per the Microsoft Q&A community policy, "The question author cannot accept their own answer. They can only accept answers by others"
I’m reposting your solution here so you can mark it as accepted if it resolves your query:
After investigating the issue, we identified the root cause — the model name used in the request was "Layout"
instead of the correct "prebuilt-layout"
. This mismatch led to the failure when processing the file.
Interestingly, when a PDF file was tested, the system returned a clear error indicating the model name was invalid. However, with a DOCX file, the error message reported the file as "corrupted," which was misleading and made the issue harder to diagnose.
We've corrected the model name, and this resolves the problem. Sharing this clarification to help avoid similar confusion in the future. Let us know if you need further assistance.
Thank you again for your time and patience throughout this issue.
Please don’t forget to Accept Answer
and Yes
for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members.