Shotgun Event Daemon not starting - Windows

Hey Everyone,
Specs :
Windows : Windows 10 Pro
Python : 3.10.6
Shotgun api : shotgun_api3
I have cloned the shotgun event daemon repo and going through the docs to install and start it. While installing I got some deprecationWarnings as below:

C:\shotgun\shotgunEvents\src\shotgunEventDaemon.py:64: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
CURRENT_PYTHON_VERSION = StrictVersion(sys.version.split()[0])
C:\shotgun\shotgunEvents\src\shotgunEventDaemon.py:65: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
PYTHON_26 = StrictVersion(“2.6”)
C:\shotgun\shotgunEvents\src\shotgunEventDaemon.py:66: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
PYTHON_27 = StrictVersion(“2.7”)

Installing service ShotgunEventDaemon
Changing service configuration
Service updated

But while running the following command :
python.exe .\src\shotgunEventDaemon.py start

I got error :
The Shotgun Event Handler service terminated with the following service-specific error:
Incorrect function.

Please HELP !!!

I think this might be due to plugins configuration (e.g. non-existent plugins).
Search for this string in the code and see where it is raised.

Hello everyone,

Got the issue resolved…
Issue was in the “shotgunEventDaemon.conf” file. It was a typo while I was specifying the “key”.