'"An invalid argument was supplied" when attempting to create self-hosted GitHub action runner

I'm attempting to go through the setup process for self-hosted github runners and I'm running into an issue when attempting to start the configuration process.

When running the following script after extracting the installer

./config.cmd --url https://github.com/*Company*/*Project* --token *Token*

I get the error An invalid argument was supplied.. I know that the token is time sensitive for registration but I go through the process in 10 seconds up to this point so that shouldn't be an issue.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source