Shot number being mistaken for Episode Number

Traceback (most recent call last):
File “C:\Program Files\Shotgun\Resources\Desktop\Python\bundle_cache\app_store\tk-multi-publish2\v2.6.4\python\tk_multi_publish2\api\plugins\publish_plugin_instance.py”, line 308, in _handle_plugin_error
yield
File “C:\Program Files\Shotgun\Resources\Desktop\Python\bundle_cache\app_store\tk-multi-publish2\v2.6.4\python\tk_multi_publish2\api\plugins\publish_plugin_instance.py”, line 180, in run_validate
status = self._hook_instance.validate(settings, item)
File “C:\Users\sreyeeshgarimella\AppData\Roaming\Shotgun\bundle_cache\sg\kavaleer.shotgrid.autodesk.com\v5273\hooks\tk-multi-publish2\standalone\upload_version.py”, line 29, in validate
raise Exception(error_msg)
Exception: Can not find episode with code 051 on Shotgrid.
Please make an episode in Shotgrid for this code, following the naming conventions:
###_Episode_Name.

I have the naming here has 101_EpisodeFoo the naming convention FOO_101_BG_SC051_v01.psd Episode exists on shotgrid. I’m wondering why would I be getting that error if the Episode name is there on shotgrid.

It seems like your publish app has been modified through hooks so I would first contact your Pipeline Developer/team as its not really something we can help you with here given the current information.

Hi Ricardo,

Thank you for the response. I am able to upload other episodes in this naming convention like the following : FOO_101_020.mp4 or eve FOO_101_BG_020.psd So the weird part is it takes in some of the shots into the publish but not all the shots. The naming convention is fine

yeah but unfortunately the error code above show us that someone at your studio has made a custom publish plugin for the standalone publisher.

So you’ll need to ask them why it doesnt work since we cannot see the source code or have any info on what the app instance expects from the user.

Is the source code in the hooks folder ?

The code that modifies the Publisher seems to live in this directory in your config.

hooks\tk-multi-publish2\standalone\upload_version.py

Once again, it seems that someone has set this up for your studio so its best to contact them.