Thanks - in more detail:
When developing locally I was holding the prismic token etc within the .env file, which for security reasons is not synced to my git repo. When Vercel performs its build it gets the code from the repo so doesn't have the environment variables. Hence the Error 500.
The fix was to go to Vercel and go to Project -> Settings -> Environment Variables and set them there.