Solved
Getting UnexpectedEOFException while using Adobe OOTB Subscribe() to subscribe a service to a recipient
I have a set of recipient fetched through WF operation, I want to subscribe the recipient to a specific Service ID using OOTB Subscribe() in javascript activity within Workflow. I am getting below exception.

Please help me in resolving this.