Auto Share Request script failing

Auto Share Request script failing

Greetings,

Stumbled upon the V3 variant of the auto share requests from email IDs to notify:

https://pitstop.manageengine.com/portal/kb/articles/how-to-auto-share-request-to-users-specified-in-a-request-field-v3

Now before I found V3 I found the https://pitstop.manageengine.com/portal/kb/articles/how-to-auto-share-request-to-users-specified-in-a-request-field (V1) version of the same script and had originally tried implementing that. When I did testing, I was returning JSON output in \custom_scripts\request\ that showed INTERESTEDPARTY as "Email IDs to Notify"

I then found V3, and altered the Custom Trigger for V3 as listed on the above link. I'm trying to exactly use Email IDs to Notify. I verified my server has the Path variable, Requests and XLRD installed per https://pitstop.manageengine.com/portal/kb/articles/how-to-setup-python-on-the-server and verified that Python 3.5 is installed currently.

I get his on request history for output:

"Traceback (most recent call last): File "share_requestV3_og.py", line 118, in <module> checkAndShareToUser(notify_emailids[i]) File "share_requestV3_og.py", line 61, in checkAndShareToUser"

Myself and a more skilled Python member of my team have reviewed/modified the python script to determine what or where the error is occurring but has so far not found a thing. I'm currently working in the original script as provided by the original V3 setup documentation.

I reviewed this post https://pitstop.manageengine.com/portal/community/topic/auto-share-request as well.

Any guidance in debugging what's occurring would be helpful. We're not certain if the Email IDs to Notify field is accurate (versus INTERESTEDPARTY), or if there is a UDF_sline_xxxx field we can reference instead, or generally what we can do to resolve this and make it work. 

Sharing requests is something that is desperately needed in our users' ticket generation and especially for things such as onboarding/offboarding to allow many individuals to put in tickets on behalf of others, with those others being able to view/modify the ticket as if they submitted it. Why this is not a built-in function of Email IDs to Notify I have no idea, but I think it should be. A single checkbox in Admin settings to enable this feature would be grand.

Thank you,
Jacob

                  New to ADSelfService Plus?