[Cognitive Form Recognizer] "FATAL: Error: Not able to process media type */* at this moment"
See original GitHub issueDescribe the issue Encountered this error when trying to generate v2.0 of Form Recognizer from the azure-rest-api-spec repo. The generation works with version 2 of autorest.
** REQUIRED **
ModelerFour version: 4.4.162
AutoRest-core version: 3.0.6146
CommandLine : autorest-beta --python --use=C:\Users\krpratic\autorestv3\autorest.python --tag=release_2_0 --output-folder=FormRecognizer/
OpenAPI/Swagger file: https://github.com/Azure/azure-rest-api-specs/blob/master/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/FormRecognizer.json
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Cannot train model in form recognizer studio - Microsoft Q&A
I am running into the same issue. Using a field of type "Table" results in the following error in the model build process...
Read more >Why do I receive a UnsupportedMediaType message when ...
However when I attempt to execute the curl command to analyze the request; I get an error message indicating: {"error":{"code":" ...
Read more >Top Azure Form Recognizer Alternatives in 2022 - Slashdot
Find the top alternatives to Azure Form Recognizer currently available. Compare ratings, reviews, pricing, and features of Azure Form Recognizer ...
Read more >COGNITIVE ASSESSMENT TOOLKIT - Alzheimer's Association
Developed by a group of clinical dementia experts, the recommended process outlined on Page 4 allows you to efficiently identify patients with probable ......
Read more >A review and how-to guide for Microsoft Form Recognizer
I'm interested in particular in general-purpose form extraction tools that can work with any kind of document—not just invoices, receipts, or ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Looks like @kristapratico fixed this issue in a PR to the Swagger: https://github.com/Azure/azure-rest-api-specs/pull/8814. I’ll see if I can add a warning in AutoRest Core to encourage the use of
produces
on operations that return a body payload.I just hit the same issue and the error message was not very clear. I compared my current swagger with another working one to find out that the error had to do with schema around “produces” and “consumes”. It would be great to have a clear error message.