The code is below. It is not looping through all of the items in the array and I think it\'s because async calls and forEach loops aren\'t the best solution for this.