我设法创建了一个带有外部问题的 HIT,该问题调用了 S3 服务器中托管的 html 文件。我曾在沙盒环境中工作过。当我创建命中时,当我尝试以工作人员身份提交命中时出现以下错误:
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.
Run Code Online (Sandbox Code Playgroud)
我已经阅读了多个论坛试图找出问题所在。当我查看开发人员工具中的源代码时,它似乎设置了所有必要的参数:
</style><iframe height="400" scrolling="auto" frameborder="0" align="center" src="https://BUCKET.s3.amazonaws.com/index.html?assignmentId=34J10VATJGBKANG4MDCHRA6ME53QIH&hitId=3N2YPY1GI6BYD6C5MRBYOYBJJSEEVE&workerId=A1YJU5SNGQQP00&turkSubmitTo=https%3A%2F%2Fworkersandbox.mturk.com" name="ExternalQuestionIFrame"></iframe>
Run Code Online (Sandbox Code Playgroud)
另外,我确保我没有任何名为“提交”的按钮。关于如何调试这个东西的任何想法?
这里的问题通常是您没有将适当的信息提交回 MTurk。assignmentId除了至少一个其他命名字段之外,您还需要发送参数。我经常&foo=bar在提交 URL 的末尾添加一个(或类似的)。所以你应该提交给类似的东西:
https://workersandbox.mturk.com/mturk/externalSubmit?assignmentId=34J10VATJGBKANG4MDCHRA6ME53QIH&foo=bar
Run Code Online (Sandbox Code Playgroud)
那是为了沙箱。对于实时服务器,将基本 URL 切换为https://www.mturk.com.
| 归档时间: |
|
| 查看次数: |
2827 次 |
| 最近记录: |