jorgebastida / jorgebastida/aws2fa

Bug for platform: macOS-11.1-arm64-arm-64bit

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
16
Forks
4
PR merge metrics
No merged PRs in 30d

Description

================================================================================
You've found a bug! Please, raise an issue attaching the following traceback
https://github.com/jorgebastida/aws2fa/issues/new
--------------------------------------------------------------------------------
Version: 0.0.3
Python: 3.9.1 (default, Dec 28 2020, 06:19:44)
[Clang 12.0.0 (clang-1200.0.32.28)]
boto3 version: 1.16.47
Platform: macOS-11.1-arm64-arm-64bit
Config: {'profile': 'default', 'hours': 12, 'aws_access_key_id': 'SENSITIVE', 'aws_secret_access_key': 'SENSITIVE', 'aws_session_token': 'SENSITIVE', 'aws_profile': 'SENSITIVE'}
Args: ['/opt/homebrew/bin/aws2fa']

Traceback (most recent call last):
File "/opt/homebrew/lib/python3.9/site-packages/aws2fa/bin.py", line 35, in main
aws2fa.run()
File "/opt/homebrew/lib/python3.9/site-packages/aws2fa/core.py", line 163, in run
profile_session_token = self._get_profile_session_token()
File "/opt/homebrew/lib/python3.9/site-packages/aws2fa/core.py", line 150, in _get_profile_session_token
return self.client.get_session_token(
File "/opt/homebrew/lib/python3.9/site-packages/botocore/client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/opt/homebrew/lib/python3.9/site-packages/botocore/client.py", line 648, in _make_api_call
request_dict = self._convert_to_request_dict(
File "/opt/homebrew/lib/python3.9/site-packages/botocore/client.py", line 696, in _convert_to_request_dict
request_dict = self._serializer.serialize_to_request(
File "/opt/homebrew/lib/python3.9/site-packages/botocore/validate.py", line 297, in serialize_to_request
raise ParamValidationError(report=report.generate_report())
botocore.exceptions.ParamValidationError: Parameter validation failed:
Invalid length for parameter SerialNumber, value: 6, valid range: 9-inf
================================================================================

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.