Hi Dipali,
Most probably this error is not related to assigned role. This seems some logic error. I suggest you should check service center logs for cause of the error. If you can share the OML file then it will be easy to find the root cause of the error.
regards