microsoft / microsoft/Form-Recognizer-Toolkit
ServiceRequestError: No connection adapters were found
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 96
- Forks
- 61
- Avg merge
- 1h 18m
- Merged PRs (30d)
- 1
Description
Hi,
I'm trying to run the /SampleCode/Python/sample_figure_understanding.ipynb file, but when it tries to call the Azure Document AI REST API, it throws the following error.
ServiceRequestError: No connection adapters were found for '"https://xxxxxxx-westus2.cognitiveservices.azure.com/" /documentModels/prebuilt-layout:analyze?api-version=2024-02-29-preview&outputContentFormat=markdown# Your Azure Document Intelligence resource's endpoint value./documentintelligence'
I've tried deploy the Document AI service in EastUS and West US2, same issue.
I've also tried to execute sample API call as described in the REST API 2024-02-29-preview documentation, same issue.
any advise ?
thanks in advance,
regards,
Alex
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with /SampleCode/Python/sample_figure_understanding.ipynb and reproduce the Azure Document Intelligence REST API call described in the issue. Check how the endpoint and request URL are assembled, then verify the sample runs without the reported ServiceRequestError against the 2024-02-29-preview API.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, jupyter-notebook, python
- Domain
- api, cloud
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100