401 unauthorized when using access token as admin

Attempting to use a personal access token with full api permissions to access the on prem gitlab we setup at https://testgit.xxxx.aws.com, but receive a “401 Unauthorized”. When I use a token with insufficient privileges I receive an error about insufficient privileges with the scope of my token so I know the tokens are being saved to the DB. Why do i get a 401 unauthorized error against the gitlab api even though my token has the right permissions. I can’t even get the version of gitlab when running:

curl --header “PRIVATE-TOKEN: Og0v9kAgXzhjjjhhowLqZVly5w8nLEaKeRMx151/o8=” “https://testgit.xxxx.aws.com/api/v4/version