PyEmVue
PyEmVue copied to clipboard
botocore.exceptions.ParamValidationError: Parameter validation failed: Invalid type for parameter AccessToken, value: None, type: <class 'NoneType'>, valid types: <class 'str'>
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'>
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.
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.
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
downgrading to pyemvue == 0.16.0 appears to work