fod-dev/fod-uploader-java

-apiCredentials doesn't work when there is a comma in the secret

Opened this issue · 0 comments

The generated API Key/Secret for our CI account was generated with comma in the secret. When using the FoD Java Uploader, it refused to accept the input giving the following error each time:

The following options are required: -apiCredentials, -ac or -userCredentials, -uc Usage: <main class> [options] ...

I eventually isolated the issue by just deleting any special characters from the string until it attempted to connect. Attempts to shell escape the key in Bash did not help either. We did work around by regenerating our API Key for our CI systems.

Workaround: regenerate the API key/secret until you get one without a comma.