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

botocore.exceptions.ParamValidationError: Parameter validation failed: Invalid type for parameter AccessToken, value: None, type: <class 'NoneType'>, valid types: <class 'str'> #79

Open
chakachim opened this issue Apr 25, 2024 · 4 comments

Comments

@chakachim
Copy link

Getting this error about 90% of the time when trying to poll using the example script.

botocore.exceptions.ParamValidationError: Parameter validation failed:
Invalid type for parameter AccessToken, value: None, type: <class 'NoneType'>, valid types: <class 'str'>

@magico13
Copy link
Owner

Odd, type checking is generally optional in Python. I might be able to clean up some of the types that are defined within the library, but once it gets to botocore it's out of my hands.

@chakachim
Copy link
Author

chakachim commented Apr 29, 2024

If I keep spamming the login attempt process, it will eventually succeed after nine or so tries. This will work for what I'm making, but I didn't know if me constantly spamming the login process would create any issues with the provider.

@DabblerIOT
Copy link
Collaborator

provider for auth is amazon incognito in iad

i would assume if you spam it at some point it will not respond.. think tolkens are good 30 min plus

@clarsen
Copy link

clarsen commented May 5, 2024

downgrading to pyemvue == 0.16.0 appears to work

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

4 participants