To retrieve all the errors that occurred in different stages of a Map/Reduce script during the summarize stage, you can use the following code: if (summaryContext.inputSummary.error) { let error = JSON.parse(summaryContext.inputSummary.error); log.error(“Errors in getInputData”,error); … Continue reading How to Retrieve All Errors from Every Stage of a Map/Reduce Script in the Summarize Stage