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

1 Answer 1

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.

Sign up to request clarification or add additional context in comments.

2 Comments

Thank you so much! I had to go through so much documentation to set aws that I completely went over this. So greatly appreaciated!
No problem have a great day :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.