When do I create a PAT before or after ShotGrid Migration

Hi @mgoetsch

Thanks for posting the image. The Invalid date is purely an unfortunate GUI issue. It does not impact the Personal Access Token.

The fact that there is PAT associated to your ShotGrid account means that it will be used. But there is an easy way for you to confirm that (but that will mean generating a new PAT and re-adding it to your user account on ShotGrid)

Here are the steps to confirm that the PAT is indeed used:

  1. in the ShotGrid interface, delete the PAT and run your script to confirm it works with your credentials
  2. in the profile.autodesk.com interface, create a new PAT and copy it to your ShotGrid user
  3. once added to ShotGrid, with the In good standing message shown, delete it in the profile.autodesk.com interface. Do this BEFORE you try to run your script or any other API access with that user.
  4. Now that your ShotGrid user refers to a now-deleted PAT, run your script again.

It should fail.

The script will work again if:

  • you delete the PAT from your ShotGrid account, or
  • create a new PAT in profile.autodesk.com and copy it to your ShotGrid account.

Hoping this helps,

-Patrick

1 Like