hawkerfun / cognito-csv-exporter

Amazon Cognito User Pool CSV exporter
105 stars 67 forks source link

cannot export users #9

Open petroffsvetoslav opened 3 years ago

petroffsvetoslav commented 3 years ago

Hi, I've installed requirements.txt file with a few additions that I had to manually install. Ran the command - python3 CognitoUserToCSV.py --region 'eu-west-1' --user-pool-id 'eu-west-1_xxxxx' -attr Username email_verified given_name family_name UserCreateDate phone

And I'm getting an error - Something else failed? I'm not really sure what went wrong, the only thing I can figure out is that when I usually use the awscli, I have to specify my profile with the --profile someprofile parameter. I tried adding that to the command, but it failed, because it didn't recognize that flag… Then again, I didn't really find awscli being used in the actual python script, so the problem may lay elsewhere. Any thoughts how I can proceed from here?

petroffsvetoslav commented 3 years ago

I see that the issue I'm facing is probably fixed in PR https://github.com/hawkerfun/cognito-csv-exporter/pull/3 but this is yet to be approved and merged.