diff --git a/src/libs/HttpUtils.js b/src/libs/HttpUtils.js index db76fb45b0d9..489afe7a9791 100644 --- a/src/libs/HttpUtils.js +++ b/src/libs/HttpUtils.js @@ -96,8 +96,9 @@ function processHTTPRequest(url, method = 'get', body = null, canCancel = true, }); } if (response.jsonCode === CONST.JSON_CODE.MANY_WRITES_ERROR) { - const {phpCommandName, authWriteCommandsCount} = response.data; - const message = `The API call (${phpCommandName}) did ${authWriteCommandsCount - 1} more Auth write requests than allowed. Check the APIWriteCommands class in Web-Expensify`; + const {phpCommandName, authWriteCommands} = response.data; + // eslint-disable-next-line max-len + const message = `The API call (${phpCommandName}) did more Auth write requests than allowed. Count ${authWriteCommands.length}, commands: ${authWriteCommands.join(', ')}. Check the APIWriteCommands class in Web-Expensify`; alert('Too many auth writes', message); } return response;