1

I ventured asking this question because I am getting the following error when I try to run any command in aws cli

Could not connect to the endpoint URL: "https://mturk-requester.us-west-1.amazonaws.com/"

I am in norhtern California and my config file reads:

region = us-west-1

output = table

Therefore I am not experiencing the 1a error described in the questions already answered here and there.

I am also able to communicate with the server using all the steps described here.

The commands I've been attempting to run are:

aws mturk get-account-balance

aws mturk list-hits

deps_stats
  • 254
  • 1
  • 2
  • 11

1 Answers1

1

I believe this is because mturk is only available in us-east-1 which is also considered the AWS global region, this is mentioned in the documentation for the SDK and the only region mentioned on the endpoints page.

Configure the AWS SDK to use the ‘us-east-1’ region. This is the region in which the MTurk API is available.

If you specify the --region flag and set the value to us-east-1 it should be able to connect to the mechanical turk endpoint.

Chris Williams
  • 32,215
  • 4
  • 30
  • 68