Error in access Request - An unexpected error occurred: failed to lazily initialize a collection of role

Hi All ,

I am getting this error in access request . I am making few updates to plan in before provisioning rule

I checked logs →
This is coming post execution of after provisioning Rule . Line items in my plan are executed but then I am getting this error. How to debug further? How to find exact root cause.

An unexpected error occurred: failed to lazily initialize a collection of role: sailpoint.object.Identity.links, could not initialize proxy - no Session

@ambuj96 ,

I am not sure I understand what you are asking but…
Maybe this previous post that was solved might help?

1 Like

Hi @ambuj96

You can refer this thread on this error which was mentioned about the reasons of the error in the past. Please go through this

2 Likes

Hello @ambuj96

This exception occurs when you try to access a lazy-loaded association outside the scope of the session that fetched it.

Please, can you provide your code details to updat plan before provisioning?. Maybe your are trying update an object while this object is associated to other thread session