Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unauthorized Error: botocore.errorfactory.NotAuthorizedException: An error occurred (NotAuthorizedException) when calling the SignUp operation: A client attempted to write unauthorized attribute #6

Open
brendan-wiz opened this issue May 6, 2024 · 0 comments

Comments

@brendan-wiz
Copy link

brendan-wiz commented May 6, 2024

attempting to run: cognito-scanner account-creation --region=us-east-1 --user_attributes=bob.smith@test.com --client_id= --username='cognito_user' --password='R4nd0mP4$$word'

Traceback (most recent call last):

File "/Users/brendan/dev/cognito-scanner/.venv/bin/cognito-scanner", line 8, in
sys.exit(cli())
^^^^^

File "/Users/brendan/dev/cognito-scanner/.venv/lib/python3.12/site-packages/scanner/scanner.py", line 102, in account_creation
confirmed, sub = srp.signup_user()
^^^^^^^^^^^^^^^^^

File "/Users/brendan/dev/cognito-scanner/.venv/lib/python3.12/site-packages/scanner/AWSSRP.py", line 173, in signup_user
response = boto_client.sign_up(
^^^^^^^^^^^^^^^^^^^^

File "/Users/brendan/dev/cognito-scanner/.venv/lib/python3.12/site-packages/botocore/client.py", line 565, in _api_call
return self._make_api_call(operation_name, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/Users/brendan/dev/cognito-scanner/.venv/lib/python3.12/site-packages/botocore/client.py", line 1021, in _make_api_call
raise error_class(parsed_response, operation_name)

botocore.errorfactory.NotAuthorizedException: An error occurred (NotAuthorizedException) when calling the SignUp operation: A client attempted to write unauthorized attribute

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant