【问题标题】:Not able to identify AWSAccessKey while creating HIT创建 HIT 时无法识别 AWSAccessKey
【发布时间】:2016-02-05 17:53:42
【问题描述】:

我正在尝试使用 python 脚本创建 Amazon Mechanical Turk HIT,但遇到以下问题。我验证了我在 AMT Requester 帐户中的注册,看起来还不错。谁能让我知道如何进行。以下是错误:

raise MTurkRequestError(response.status, response.reason, body)
boto.mturk.connection.MTurkRequestError: MTurkRequestError: 200 OK
<?xml version="1.0"?>

<CreateHITResponse><OperationRequest><RequestId>aec5b15f-0ba9-413f-9443-1555152315c7</RequestId><Errors><Error><Code>AWS.NotAuthorized</Code>    <Message>The identity contained in the request is not authorized to use this AWSAccessKeyId (1454688645360 s)</Message></Error></Errors></OperationRequest></CreateHITResponse>

【问题讨论】:

    标签: python python-2.7 boto mechanicalturk


    【解决方案1】:

    这绝对是您的访问密钥。检查以下情况以确保一切正确:

    一个。常见错误之一是 mturk 和 aws 帐户的用户名和密码不同。更多信息请查看here

    重要 您的 Amazon Mechanical Turk 请求者账户必须使用与您在第 1 步:注册 AWS 账户中创建的根 AWS 账户相同的凭证(电子邮件地址和密码)创建。

    b.如果您创建 IAM 用户,请确保您拥有适当的权限,如果您使用 root 用户名,请确保您相应地使用凭证。查看管理您的 AWS 安全凭证部分here 了解更多信息。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-07-06
      • 1970-01-01
      • 1970-01-01
      • 2021-01-05
      • 2013-01-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多