Can't see new HIT on web dashboard

0

I've created new HIT via API in requester sandbox. I signed up with mturk requester and linked my AWS account to sanbox mturk account. Then and created new IAM user with "mechanical turk full access" policy, and started my script to create new HIT in requester sandbox using boto3 client in python, using sandbox endpoint:

import boto3
import os

MTURK_SANDBOX = 'https://mturk-requester-sandbox.us-east-1.amazonaws.com'

mturk = boto3.client('mturk',
    aws_access_key_id=os.environ['AWS_ACCESS_KEY'],
    aws_secret_access_key=os.environ['AWS_SECRET_KEY'],
    region_name='us-east-1',
    endpoint_url=MTURK_SANDBOX
)

The HIT created successfully, but I can't see on the dashboard (sandbox dashboard), so I can't upload batch csv file to preview that HIT is working correctly

Can someone please help with that problem?

g4s8
已提问 5 年前215 查看次数
2 回答
1

Hello,

Thanks for asking about this. HITs created with the API must be managed via the API, and vice-versa.

If you haven't already, definitely take a look at our documentation for CreateHIT:

https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_CreateHITOperation.html

This page also references our blog post on creating HITs using Python, which has some helpful information about creating multiple HITs and assignments through the API tools. You wouldn't use a CSV upload in this case, you would have python read the CSV file and call create_hit for each line in it.

I think you may have already contacted support for assistance here, and if so, you should be receiving this information via email shortly as well.

I hope that helps! If you have any other questions or concerns please don't hesitate to reply to our communication via mturk-requester-support@amazon.com

-Adam J

AWS
已回答 5 年前
1

Thanks, AdamJ-AWS. It works for me. Just to let you know, that it was not clear for me that API HITs and web-UI HITs are different things - first I created sandbox HIT via web interface just to check how it's working, and then I tried to create same thing via API. If you're a member of Mturk team, I'd suggest adding a line to documentation about it, to avoid same situation.

g4s8
已回答 5 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则