当我尝试定期(但不总是)通过Boto3发送奖金时,RequestError
出现:
Exception Type: RequestError
Exception Value:
An error occurred (RequestError) when calling the SendBonus operation:
This user is not authorized to perform the requested operation.
Exception Location: /Users/chapkovski/mynewotree/lib/python3.5/site-packages/botocore/client.py in _make_api_call, line 615
代码如下:
response = client.send_bonus(
WorkerId=self.WorkerId,
BonusAmount=str(form.cleaned_data['bonus_amount']),
AssignmentId=self.AssignmentId,
Reason=form.cleaned_data['reason'],
)
由于它有时有效,似乎有一个特定的最高数额,可以发送作为奖金每天。我是在沙箱里做的,所以绝对不是资金短缺的问题。还有谁遇到过类似的问题?你知道吗
更新:我发现了错误的根源:出于一些奇怪的原因,mTurk不允许每个员工每天发送超过100美元的邮件。你知道吗
我发现了错误的来源:出于一些奇怪的原因,mTurk不允许每个工作人员每天发送超过100美元的邮件(至少对于Sandbox是这样的-没有使用“真实”端点进行测试)。你知道吗
相关问题 更多 >
编程相关推荐