Skip to content

AZURE Cognitive Serivces -> KeyError: 'Endpoint' #9521

@andcald1982

Description

@andcald1982

I am using the SDK (Python) for Computer Vision published in Mocrosoft Docs (https://docs.microsoft.com/es-es/azure/cognitive-services/computer-vision/quickstarts-sdk/python-sdk).

When I run the code, this error occurs:

Traceback (most recent call last):

File "c:/analyze_image_local.py", line 68, in

description_result = computervision_client.describe_image_in_stream(local_image)

File "C:\Anaconda3\lib\site-packages\azure\cognitiveservices\vision\computervision\operations_computer_vision_client_operations.py", line 1202, in describe_image_in_stream

request = self._client.post(url, query_parameters, header_parameters, body_content)

File "C:\Anaconda3\lib\site-packages\msrest\service_client.py", line 193, in post

request = self._request('POST', url, params, headers, content, form_content)

File "C:\Anaconda3\lib\site-packages\msrest\service_client.py", line 108, in _request

request = ClientRequest(method, self.format_url(url))

File "C:\Anaconda3\lib\site-packages\msrest\service_client.py", line 155, in format_url

base = self.config.base_url.format(**kwargs).rstrip('/')

KeyError: 'Endpoint'

Metadata

Metadata

Assignees

No one assigned

    Labels

    ClientThis issue points to a problem in the data-plane of the library.Cognitive ServicesService AttentionWorkflow: This issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions