oTree Forum >

Trouble posting mturk HIT via oTree

#1 by gmauter

Hi all,

I've been running sessions on Prolific for months, but I'm now making the switch over to mturk. I've followed all the steps in the documentation for running on mturk, but when I go to post the HIT from the oTree admin page, I get errors.

When I select the 'Use MTurk Sandbox' option, the error reads: 

MTurkError({'__type': 'RequestError', 'Message': 'This user is not authorized to perform the requested operation.                                     (1705687446820 s)', 'TurkErrorCode': 'AWS.MechanicalTurk.PermissionDenied'})

and when I deselect the sandbox option, the error reads: 

MTurkError({'__type': 'RequestError', 'Message': 'This account has been suspended. (1705687489337)', 'TurkErrorCode': 'AWS.MechanicalTurk.PermissionDenied'})


I haven't found any discussion on any of the forums about these specific errors, so I'm hoping someone here has some ideas on a potential solution. Thanks!

#2 by gmauter (edited )

Update:

These errors were due to a mismatch in access keys between my AWS account and Heroku. After fixing, new error reads: 

MTurkError({'__type': 'RequestError', 'Message': 'This Requester has insufficient funds in their account to complete this transaction. Please visit https://requester.mturk.com/prepayments/new to purchase Prepaid HITs (1706304893161)','TurkErrorCode': 'AWS.MechanicalTurk.InsufficientFunds'})

I've read elsewhere that this error is due to a default spending limit of $0.02 on MTurk. Apparently, customer support is required to raise this limit. I've reached out to support and given them my preferred spending limit - I'll update when I get a response.

Write a reply

Set forum username