自定义模型分析结果时出现Error 2003问题求助
Your error 2003 means the Form Recognizer service can’t successfully download the document from the URL you provided. Since your prior training steps worked, let’s focus on the most common issues with the analysis request’s input URL:
Make sure the URL points directly to your document (and is publicly reachable)
If you’re using Azure Blob Storage for your sample data:- Either enable anonymous read access on your blob container, or append a valid SAS token with read (
r) permissions that hasn’t expired. Private blobs without a SAS token will block the service. - Double-check for typos in the storage account name, container name, or filename—even a misplaced hyphen or wrong case will break the link.
- Either enable anonymous read access on your blob container, or append a valid SAS token with read (
Fix URL encoding issues
If your URL includes spaces,&,#, or other special characters, they need to be properly URL-encoded. For example, replace spaces with%20instead of leaving them raw. A quick way to test is to paste the URL into a browser—if it doesn’t download the document immediately, the encoding is off.Check for network restrictions
Form Recognizer can’t access URLs hosted on private networks, intranets, or servers that block Azure’s public IP ranges. Test the URL in an incognito browser window to confirm it downloads without needing login credentials or hitting a firewall.Retry the request
Sometimes this is just a temporary network glitch between Azure data centers. If the URL works in your browser, resubmit the analyze request—you might find it works on the second try.
If you’re using the exact sample data from the Microsoft guide, triple-check that you copied the sample URL correctly. It’s easy to accidentally include an extra space or truncate the SAS token when pasting.
内容的提问来源于stack exchange,提问作者coding4fun

