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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南