The following errors may occur while using Jenkins for CI/CD integration.
エラーメッセージの例:
failed to list keypairs: status_code=401, message={
"error" : {
"status" : "wrong_token",
"message" : "Invalid JWT/S token."
}
}, nested_error=<nil>
APIトークンが正しく提供されていない場合に発生します。
This error occurs when your credentials are not configured correctly, for example:
Your environment variables were set in system variables instead of in Jenkins.
One or more of your credentials were not provided correctly.
ソリューション:クライアントツールで使用しているログインに、SM_API_KEY 環境変数が正しく設定されていることを確認してください。
Make sure that your environment variables are set in Jenkins.
Make sure that you provided your API key, client authentication certificate password, and other credentials are correct.