While triggering MAP/Reduce script from Restlet getting Insufficient Permission
<p>When i was calling MAP/REDUCE script from RESTlet by using Task module i am getting the below issue, Configuration wise in Sandbox it seems to be good. But i am not able to triggering the MAP/REDUCE script. Can any body please help on this please..</p>

<pre><code>{"type":"error.SuiteScriptError","name":"INSUFFICIENT_PERMISSION","message":"You do not have privileges to perform this operation","stack":["submit(N/task)","doPost(/SuiteBundles/Bundle 10009/Solarwind_Import_Trsansaction_RESTlet.js:122)"],"cause":{"type":"internal error","code":"INSUFFICIENT_PERMISSION","details":"You do not have privileges to perform this operation","userEvent":null,"stackTrace":["submit(N/task)","doPost(/SuiteBundles/Bundle 10009/Solarwind_Import_Trsansaction_RESTlet.js:122)"],"notifyOff":false},"id":"","notifyOff":false}
</code></pre>

<p>Code is :</p>

<pre><code>var mrTask = task.create({
    taskType : task.TaskType.MAP_REDUCE
});

mrTask.scriptId = 'customscript_sw_jsondata_mapreduce';
mrTask.deploymentId = 'customdeploy_sw_jsondata_mapreduce';
mrTask.params = 
{
    custscript_sw_jsondata_mapreduce_para : requestBody
};

mrTask.submit();
</code></pre>

<p>Thanks,
Ganapathi</p>