You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I currently get the following error when trying to use awslogs on an account under AWS Control Tower and AWS SSO. Works fine on accounts not under SSO.
Traceback (most recent call last):
File "/Users/user/.pyenv/versions/3.7.3/bin/awslogs", line 8, in <module>
sys.exit(main())
File "/Users/user/.pyenv/versions/3.7.3/lib/python3.7/site-packages/awslogs/bin.py", line 179, in main
getattr(logs, options.func)()
File "/Users/user/.pyenv/versions/3.7.3/lib/python3.7/site-packages/awslogs/core.py", line 229, in list_logs
consumer()
File "/Users/user/.pyenv/versions/3.7.3/lib/python3.7/site-packages/awslogs/core.py", line 170, in consumer
for event in generator():
File "/Users/user/.pyenv/versions/3.7.3/lib/python3.7/site-packages/awslogs/core.py", line 157, in generator
response = self.client.filter_log_events(**kwargs)
File "/Users/user/.pyenv/versions/3.7.3/lib/python3.7/site-packages/botocore/client.py", line 276, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/Users/user/.pyenv/versions/3.7.3/lib/python3.7/site-packages/botocore/client.py", line 586, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.errorfactory.UnrecognizedClientException: An error occurred (UnrecognizedClientException) when calling the FilterLogEvents operation: The security token included in the request is invalid
The text was updated successfully, but these errors were encountered:
I currently get the following error when trying to use
awslogs
on an account under AWS Control Tower and AWS SSO. Works fine on accounts not under SSO.The text was updated successfully, but these errors were encountered: