V4 Automation error with Credential defined

Product: PowerShell Universal
Version: v4.3.4
Installed as a service on windows with ad credentials.

I have an automation script where I have defined alternate credentials to run the script as. I am getting this error:
Error executing job: An error occurred trying to start process 'pwsh' with working directory 'e:\PSU\UniversalAutomation\Repository'. The stub received bad data.

Other scripts with default credentials work fine. I have set this alternate user to run as a service on windows with no change.

Thanks,
Jeremy

i didn’t realize i forgot to put domain name in front of the credentials. I just changed it to domain\username and it works now.

Thanks.