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
This module's admin_reset_user_password function has an optional client_metadata parameter. The default value of this parameter is None, but if you call the function without specifying any client metadata, you get this error:
Parameter validation failed:
Invalid type for parameter ClientMetadata, value: None, type: <class 'NoneType'>, valid types: <class 'dict'>
The solution is to pass an empty dictionary to client_metadata, which should be the default for that parameter.
The text was updated successfully, but these errors were encountered:
nk9
added a commit
to nk9/pycognito
that referenced
this issue
Nov 12, 2022
This module's
admin_reset_user_password
function has an optionalclient_metadata
parameter. The default value of this parameter isNone
, but if you call the function without specifying any client metadata, you get this error:The solution is to pass an empty dictionary to
client_metadata
, which should be the default for that parameter.The text was updated successfully, but these errors were encountered: