创建命中时无法识别AWSAccessKey

2024-09-27 00:12:48 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在尝试使用python脚本创建Amazon Mechanical Turk HIT,我得到了以下问题。我在AMT请求者帐户中验证了我的注册,看起来很好。有人能告诉我怎么做吗。错误如下:

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>

Tags: 脚本messageamazonresponsecodeerrormechanicalerrors
1条回答
网友
1楼 · 发布于 2024-09-27 00:12:48

这肯定是和你的钥匙有关。检查以下情况,确保一切正常:

a.常见错误之一是mturk和aws帐户的用户名和密码不同。有关详细信息,请查看here。你知道吗

Important Your Amazon Mechanical Turk Requester account must be created using the same credentials (email address and password) as the root AWS account that you created in Step 1: Sign Up for an AWS Account.

b.如果您创建IAM用户,请确保您具有适当的权限,如果您使用根用户名,请确保您相应地使用凭据。检查以管理您的AWS安全凭据here部分以获取更多信息。你知道吗

相关问题 更多 >

    热门问题