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 just switched my IAM user's MFA device to U2F, and when trying to assume a role that requires MFA, I now get a validation error when using my U2F device:
botocore.exceptions.ClientError: An error occurred (ValidationError) when calling the AssumeRole operation: 2 validation errors detected: Value '[redacted]' at 'tokenCode' failed to satisfy constraint: Member must satisfy regular expression pattern: [\d]*; Value '[redacted]' at 'tokenCode' failed to satisfy constraint: Member must have length less than or equal to 6
It looks as though there's validation that tokenCode is a 6 digit number.
The text was updated successfully, but these errors were encountered:
I just switched my IAM user's MFA device to U2F, and when trying to assume a role that requires MFA, I now get a validation error when using my U2F device:
It looks as though there's validation that
tokenCode
is a 6 digit number.The text was updated successfully, but these errors were encountered: