PyEmVue icon indicating copy to clipboard operation
PyEmVue copied to clipboard

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

Open chakachim opened this issue 9 months ago • 4 comments

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'>

chakachim avatar Apr 25 '24 18:04 chakachim

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.

magico13 avatar Apr 28 '24 16:04 magico13

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.

chakachim avatar Apr 29 '24 00:04 chakachim

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

DabblerIOT avatar May 01 '24 01:05 DabblerIOT

downgrading to pyemvue == 0.16.0 appears to work

clarsen avatar May 05 '24 22:05 clarsen