Login Script Error


Now, login using the Python API is no longer available.
Does it have anything to do with the ShotGrid update ?

My environment is

  • Windows 7
  • Python 2.7.15
  • shotgun_api3 3.3.1
  • Autodesk Identity not yet linked

Test Code

import shotgun_api3
params = {}
params['base_url'] = 'https://dummy.shotgunstudio.com/'
params['login'] = 'dummy'
params['password'] = 'dummy'
sg = shotgun_api3.Shotgun(**params)


Traceback (most recent call last):
  File "C:\python\_test.py", line 8862, in <module>
  File "C:\python\_test.py", line 8858, in test_login
  File "C:\python\shotgun_api3\shotgun.py", line 1000, in find
    result = self._call_rpc("read", params)
  File "C:\python\shotgun_api3\shotgun.py", line 3360, in _call_rpc
  File "C:\python\shotgun_api3\shotgun.py", line 3665, in _response_errors
    raise Fault(sg_response.get("message", "Unknown Error"))
Fault: Uncaught exception! undefined method `get_user' for nil:NilClass

We’re seeing this as well. From API scripts and when launching the Shotgun Desktop.


We are also seeing the same thing, got the first report about 2h ago. New users are unable to login into Shotgrid Desktop. But users who are already logged in stay.
If you logout it´s not possible to get in again.

It seems to work fine on sites that are fully migrated and use the new web login.
but as our live site is in mixed mode that option is not available even for the users who have already migrated.

This is not good :confused:


Same here, we can’t login to Shotgrid Desktop. We are not fully migrated yet.

This issue has been logged on the Shotgun Status page: https://status.shotgridsoftware.com/

No updates yet.

1 Like

The same problem is happening here in our studio. It started today. Website is working fine, but we can’t login on Shotgun Desktop.

This issue has been resolved.
Thanks ShotGrid support team !

1 Like