azure-search-openai-demo
azure-search-openai-demo copied to clipboard
FormRecognizer Error in the deployment
Please provide us with the following information:
This issue is for a: (mark with an x)
- [ x] bug report -> please search issues before submitting
- [ ] feature request
- [ x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
Deploy the demo on the github codespace process.
Any log messages given by the failure
{ "code": "DeploymentFailed", "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.", "details": [ { "code": "InvalidApiSetId", "message": "The account type 'FormRecognizer' is either invalid or unavailable in given region." } ] }
Expected/desired behavior
OS and Version?
Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?) macOS
azd version?
run
azd versionand copy paste here. azd version 1.5.1 (commit 3856d1e98281683b8d112e222c0a7c7b3e148e96)
Versions
1.5.1
Mention any other details that might be useful
I am trying to deploy the app by following the steps in the ReadME but I keep getting an error for the FormRecognizer.
I dont understand because I dont even see FormRecognizer as a service. I understand that it changed name but how do we make this work with the new service Document Intelligence?
PLEASE I NEED HELP !
Thanks! We'll be in touch soon.
It sounds like you picked a region where Form Recognizer is not available, based on the error:
The account type 'FormRecognizer' is either invalid or unavailable in given region."
You can check this table to see where it's supported: https://azure.microsoft.com/en-us/explore/global-infrastructure/products-by-region/?products=cognitive-services
Then I suggest you delete any resource groups you created already, run azd env new to create a new environment in the new region, and run azd up again.