Boto3: botocore.exceptions.EndpointConnectionError: Could not connect to the endpoint URL: "https://api.pricing.eu-west-1.amazonaws.com/"

Created on 26 Mar 2019  路  2Comments  路  Source: boto/boto3

Hi,
I receive above error when useing boto3.

import boto3
client = boto3.client('pricing')
response = client.describe_services()
botocore.exceptions.EndpointConnectionError: Could not connect to the endpoint URL: "https://api.pricing.eu-west-1.amazonaws.com/"

Most helpful comment

For regions that are only available in one region (us-east-1), shouldn't botocore automatically select the only appropriate region?

All 2 comments

That service is not available in that region: https://docs.aws.amazon.com/general/latest/gr/rande.html#billing-pricing

For regions that are only available in one region (us-east-1), shouldn't botocore automatically select the only appropriate region?

Was this page helpful?
0 / 5 - 0 ratings