2014-07-11 27 views
2

我已成功地創建與調用在S3服務器託管的HTML文件的外部問題一擊。我曾在沙箱環境中工作過。當我創建的熱播,我收到以下錯誤,當我嘗試提交的打擊作爲一個工人:時提交的Mechanical Turk externalquestion錯誤命中

There was a problem submitting your results for this HIT. 

This HIT is still assigned to you. To try this HIT again, click "HITs Assigned To You" in the navigation bar, then click "Continue work on this HIT" for the HIT. If this problem persists, you can contact the Requester for this HIT using the "Contact" link above. 

To return this HIT and continue working on other HITs, click the "Return HIT" button. 

我已經看過多個論壇,試圖找出問題。當我在開發者工具檢查出的來源,它似乎擁有所有必要的參數設置:

</style><iframe height="400" scrolling="auto" frameborder="0" align="center" src="https://BUCKET.s3.amazonaws.com/index.html?assignmentId=34J10VATJGBKANG4MDCHRA6ME53QIH&amp;hitId=3N2YPY1GI6BYD6C5MRBYOYBJJSEEVE&amp;workerId=A1YJU5SNGQQP00&amp;turkSubmitTo=https%3A%2F%2Fworkersandbox.mturk.com" name="ExternalQuestionIFrame"></iframe> 

而且,我確信我沒有命名爲「提交」的任何按鈕。任何想法如何我可以調試這件事情?

回答

4

這裏的問題通常是你沒有提交相應的信息反饋給MTurk。除了至少一個其他命名字段外,您還需要發送assignmentId參數。我經常只是在提交URL的末尾添加一個&foo=bar(或類似的)。所以你應該提交類似於:

https://workersandbox.mturk.com/mturk/externalSubmit?assignmentId=34J10VATJGBKANG4MDCHRA6ME53QIH&foo=bar 

這是沙箱。對於實時服務器,將基本URL切換爲https://www.mturk.com

+0

已使用此功能,現在正在獲取響應200. 但控制檯中的另一個問題 - 提供的目標原點('https://workersandbox.mturk.com')與收件人窗口的原點('https:/ /workersandbox.mturkcontent.com')。 –

2

亞馬遜MT的HIT似乎是打印的範圍廣泛的問題一般錯誤消息。這導致問題特別難以調試。

對於我來說,因爲我並沒有賦予「名」屬性的形式我輸入的元素髮生錯誤。

您必須在輸入字段定義的HTML名稱屬性。使您的名稱屬性具有描述性,因爲它們用作「結果」表中的列標題。

如果您正在使用GUI來構建和部署您的任務,我建議您給這個文檔做一個很好的閱讀,看看你是否遺漏了一些東西。

MT Requestor UI guide

希望這有助於。

相關問題