FPTR (ShotGrid) Connection Issue – Automatic Version Upload Error

I’m currently using Deadline version 10.3.2.1. The connection to FPTR (ShotGrid) is established successfully, and manual version uploads work without any issues.

However, when attempting automatic version uploads, an error occurs.

If anyone has insights or solutions regarding this issue, your help would be greatly appreciated.
Thank you!

=======================================================
Error
=======================================================
Event Error (OnJobSubmitted): Can't authenticate script 'deadline_integration'

=======================================================
Type
=======================================================
PythonException

=======================================================
Stack Trace
=======================================================
  File "C:\Users\CEO-YHC\AppData\Local\Thinkbox\Deadline10\pythonAPIs\2024-03-15T165102.0000000Z\shotgun_api3\shotgun.py", line 3693, in _response_errors
    raise AuthenticationFault(sg_response.get("message", "Unknown Authentication Error"))
  File "C:\Users\CEO-YHC\AppData\Local\Thinkbox\Deadline10\pythonAPIs\2024-03-15T165102.0000000Z\shotgun_api3\shotgun.py", line 3394, in _call_rpc
    self._response_errors(response)
  File "C:\Users\CEO-YHC\AppData\Local\Thinkbox\Deadline10\pythonAPIs\2024-03-15T165102.0000000Z\shotgun_api3\shotgun.py", line 1025, in find
    records = self._call_rpc("read", params).get("entities", [])
  File "C:\Users\CEO-YHC\AppData\Local\Thinkbox\Deadline10\pythonAPIs\2024-03-15T165102.0000000Z\shotgun_api3\shotgun.py", line 880, in find_one
    results = self.find(entity_type, filters, fields, order, filter_operator, 1, retired_only,
  File "\\192.168.0.251\DeadlineRepository10\events\Shotgun\ShotgunUtils.py", line 335, in AddNewVersion
    user = sg.find_one("HumanUser",filters=[["login","is",userName]],fields=['login','name'])
  File "none", line 157, in CreateShotgunVersion
  File "none", line 225, in OnJobSubmitted
   at Python.Runtime.PythonException.ThrowLastAsClrException() in C:\thinkbox-conda\conda-bld\dotnet_pythonnet_1709944764012\work\src\runtime\PythonException.cs:line 53
   at Python.Runtime.Dispatcher.TrueDispatch(Object[] args) in C:\thinkbox-conda\conda-bld\dotnet_pythonnet_1709944764012\work\src\runtime\DelegateManager.cs:line 341
   at Python.Runtime.Dispatcher.Dispatch(Object[] args) in C:\thinkbox-conda\conda-bld\dotnet_pythonnet_1709944764012\work\src\runtime\DelegateManager.cs:line 208
   at __FranticX_GenericDelegate1`1\[\[Deadline_Jobs_Job\, deadline\, Version=10_3_2_1\, Culture=neutral\, PublicKeyToken=5db103c5a9cd1f1e\]\]Dispatcher.Invoke(Job )
   at Deadline.Events.DeadlineEventListener.OnJobSubmitted(Job job)
   at Deadline.Events.DeadlineEventPlugin.OnJobSubmitted(Job job)

=======================================================
Log
=======================================================
2024-12-05 15:53:53:  INFO: Importing Shotgun API from 'C:\Users\CEO-YHC\AppData\Local\Thinkbox\Deadline10\pythonAPIs\2024-03-15T165102.0000000Z'...
2024-12-05 15:53:54:  INFO: Output path: Y:\2024_Project\10_da_bespoke_ai_combo_vent_renewal\sequences\full\vent_590\LGT\work\cinema\.\Render\Vent590LGT_v006\Main####.exr
2024-12-05 15:53:54:  INFO: Adding new version with the following settings:
2024-12-05 15:53:54:  INFO: userName=yangho.chae@cooms.co.kr
2024-12-05 15:53:54:  INFO: taskId=7019
2024-12-05 15:53:54:  INFO: projectId=518
2024-12-05 15:53:54:  INFO: entityId=1892
2024-12-05 15:53:54:  INFO: entityType=Shot
2024-12-05 15:53:54:  INFO: version=10_da_bespoke_ai_combo_vent_renewal_vent_590_Lighting
2024-12-05 15:53:54:  INFO: description= (67514e013e2e5e42e1122151)
2024-12-05 15:53:54:  INFO: frames=1-140
2024-12-05 15:53:54:  INFO: frameCount=140
2024-12-05 15:53:54:  INFO: outputPath=Y:\2024_Project\10_da_bespoke_ai_combo_vent_renewal\sequences\full\vent_590\LGT\work\cinema\.\Render\Vent590LGT_v006\Main####.exr
2024-12-05 15:53:54:  INFO: shotgunPath=C:\Users\CEO-YHC\AppData\Local\Thinkbox\Deadline10\pythonAPIs\2024-03-15T165102.0000000Z
2024-12-05 15:53:54:  INFO: job.JobId=67514e013e2e5e42e1122151
2024-12-05 15:53:54:  Shotgun: Logging into Shotgrid not as a user
2024-12-05 15:53:54:  Shotgun: Shotgrid username is:yangho.chae@cooms.co.kr
2024-12-05 15:53:55:  An error occurred in the "OnJobSubmitted" function in events plugin 'Shotgun': Can't authenticate script 'deadline_integration' (Python.Runtime.PythonException)
2024-12-05 15:53:55:    File "C:\Users\CEO-YHC\AppData\Local\Thinkbox\Deadline10\pythonAPIs\2024-03-15T165102.0000000Z\shotgun_api3\shotgun.py", line 3693, in _response_errors
2024-12-05 15:53:55:      raise AuthenticationFault(sg_response.get("message", "Unknown Authentication Error"))
2024-12-05 15:53:55:    File "C:\Users\CEO-YHC\AppData\Local\Thinkbox\Deadline10\pythonAPIs\2024-03-15T165102.0000000Z\shotgun_api3\shotgun.py", line 3394, in _call_rpc
2024-12-05 15:53:55:      self._response_errors(response)
2024-12-05 15:53:55:    File "C:\Users\CEO-YHC\AppData\Local\Thinkbox\Deadline10\pythonAPIs\2024-03-15T165102.0000000Z\shotgun_api3\shotgun.py", line 1025, in find
2024-12-05 15:53:55:      records = self._call_rpc("read", params).get("entities", [])
2024-12-05 15:53:55:    File "C:\Users\CEO-YHC\AppData\Local\Thinkbox\Deadline10\pythonAPIs\2024-03-15T165102.0000000Z\shotgun_api3\shotgun.py", line 880, in find_one
2024-12-05 15:53:55:      results = self.find(entity_type, filters, fields, order, filter_operator, 1, retired_only,
2024-12-05 15:53:55:    File "\\192.168.0.251\DeadlineRepository10\events\Shotgun\ShotgunUtils.py", line 335, in AddNewVersion
2024-12-05 15:53:55:      user = sg.find_one("HumanUser",filters=[["login","is",userName]],fields=['login','name'])
2024-12-05 15:53:55:    File "none", line 157, in CreateShotgunVersion
2024-12-05 15:53:55:    File "none", line 225, in OnJobSubmitted
2024-12-05 15:53:55:     at Python.Runtime.PythonException.ThrowLastAsClrException() in C:\thinkbox-conda\conda-bld\dotnet_pythonnet_1709944764012\work\src\runtime\PythonException.cs:line 53
2024-12-05 15:53:55:     at Python.Runtime.Dispatcher.TrueDispatch(Object[] args) in C:\thinkbox-conda\conda-bld\dotnet_pythonnet_1709944764012\work\src\runtime\DelegateManager.cs:line 341
2024-12-05 15:53:55:     at Python.Runtime.Dispatcher.Dispatch(Object[] args) in C:\thinkbox-conda\conda-bld\dotnet_pythonnet_1709944764012\work\src\runtime\DelegateManager.cs:line 208
2024-12-05 15:53:55:     at __FranticX_GenericDelegate1`1\[\[Deadline_Jobs_Job\, deadline\, Version=10_3_2_1\, Culture=neutral\, PublicKeyToken=5db103c5a9cd1f1e\]\]Dispatcher.Invoke(Job )
2024-12-05 15:53:55:     at Deadline.Events.DeadlineEventListener.OnJobSubmitted(Job job)
2024-12-05 15:53:55:     at Deadline.Events.DeadlineEventPlugin.OnJobSubmitted(Job job) (Deadline.Events.DeadlineEventPluginException)
2024-12-05 15:53:55:     at Deadline.Events.DeadlineEventPlugin.b(String cby, Exception cbz)
2024-12-05 15:53:55:     at Deadline.Events.DeadlineEventPlugin.OnJobSubmitted(Job job)
2024-12-05 15:53:55:     at Deadline.Events.DeadlineEventManager.OnJobSubmitted(Job job, DataController dataController)
2024-12-05 15:53:55:  ---------- Inner Stack Trace (Python.Runtime.PythonException) ----------
2024-12-05 15:53:55:    File "C:\Users\CEO-YHC\AppData\Local\Thinkbox\Deadline10\pythonAPIs\2024-03-15T165102.0000000Z\shotgun_api3\shotgun.py", line 3693, in _response_errors
2024-12-05 15:53:55:      raise AuthenticationFault(sg_response.get("message", "Unknown Authentication Error"))
2024-12-05 15:53:55:    File "C:\Users\CEO-YHC\AppData\Local\Thinkbox\Deadline10\pythonAPIs\2024-03-15T165102.0000000Z\shotgun_api3\shotgun.py", line 3394, in _call_rpc
2024-12-05 15:53:55:      self._response_errors(response)
2024-12-05 15:53:55:    File "C:\Users\CEO-YHC\AppData\Local\Thinkbox\Deadline10\pythonAPIs\2024-03-15T165102.0000000Z\shotgun_api3\shotgun.py", line 1025, in find
2024-12-05 15:53:55:      records = self._call_rpc("read", params).get("entities", [])
2024-12-05 15:53:55:    File "C:\Users\CEO-YHC\AppData\Local\Thinkbox\Deadline10\pythonAPIs\2024-03-15T165102.0000000Z\shotgun_api3\shotgun.py", line 880, in find_one
2024-12-05 15:53:55:      results = self.find(entity_type, filters, fields, order, filter_operator, 1, retired_only,
2024-12-05 15:53:55:    File "\\192.168.0.251\DeadlineRepository10\events\Shotgun\ShotgunUtils.py", line 335, in AddNewVersion
2024-12-05 15:53:55:      user = sg.find_one("HumanUser",filters=[["login","is",userName]],fields=['login','name'])
2024-12-05 15:53:55:    File "none", line 157, in CreateShotgunVersion
2024-12-05 15:53:55:    File "none", line 225, in OnJobSubmitted
2024-12-05 15:53:55:     at Python.Runtime.PythonException.ThrowLastAsClrException() in C:\thinkbox-conda\conda-bld\dotnet_pythonnet_1709944764012\work\src\runtime\PythonException.cs:line 53
2024-12-05 15:53:55:     at Python.Runtime.Dispatcher.TrueDispatch(Object[] args) in C:\thinkbox-conda\conda-bld\dotnet_pythonnet_1709944764012\work\src\runtime\DelegateManager.cs:line 341
2024-12-05 15:53:55:     at Python.Runtime.Dispatcher.Dispatch(Object[] args) in C:\thinkbox-conda\conda-bld\dotnet_pythonnet_1709944764012\work\src\runtime\DelegateManager.cs:line 208
2024-12-05 15:53:55:     at __FranticX_GenericDelegate1`1\[\[Deadline_Jobs_Job\, deadline\, Version=10_3_2_1\, Culture=neutral\, PublicKeyToken=5db103c5a9cd1f1e\]\]Dispatcher.Invoke(Job )
2024-12-05 15:53:55:     at Deadline.Events.DeadlineEventListener.OnJobSubmitted(Job job)
2024-12-05 15:53:55:     at Deadline.Events.DeadlineEventPlugin.OnJobSubmitted(Job job)

=======================================================
Details
=======================================================
Date: 12/05/2024 15:55:17
Event Type: OnJobSubmitted
Job Submit Date: 12/05/2024 15:55:16
Job User: ceo-yhc

Seems like the script is trying to find a HumanUser with the name deadline_integration.
We don’t use the built-in shotgrid integration, so I’m not sure why it’s looking for a human user and not a script user.