Hi @Anuganti
I am reposting your answer, as the original poster of the question cannot accept his or her own answer. In order for us to close this thread, please accept this answer.
By typing the below expression in a set variable or from a subsequent activity , we can get the error associated with a for each activity. > @activity('Forward').Error.Message