You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then I called CreateHIT with qual as the argument:
hit, err := turk.CreateHIT(
"Crowdproxy", "Host a proxy and help defeat censorship!",
question,
reward,
1800, // assignmentDurationInSeconds
3600, // lifetimeInSeconds
"javascript", // keywords
1000, // maxAssignments
qual, // qualificationRequirement
"", // requesterAnnotation
)
if err == nil {
fmt.Println(hit)
}
Here is what the call returns:
&{{ False [{0 AWS.InvalidEnumeratedParameter The value "Illegal Text data found as child of: QualificationRequirement" you specified for enumeration is invalid. (1430347307855 s) }]} { } 0 0 0 0 { 0 false} <nil> 0 0 0 0}
Is there anything wrong with how I use the API? Or it is just not supported? Thanks.
The text was updated successfully, but these errors were encountered:
It seems that
CreateHIT
in the mturk API does not supportQualificationRequirement
.I create a
QualificationRequirement
:Then I called
CreateHIT
withqual
as the argument:Here is what the call returns:
Is there anything wrong with how I use the API? Or it is just not supported? Thanks.
The text was updated successfully, but these errors were encountered: