studionone / cognito-export Goto Github PK
View Code? Open in Web Editor NEWExport user data from an AWS Cognito user pool
Export user data from an AWS Cognito user pool
We are running into an issue with exporting users from Cognito.
Have tried cognito-export-users and have some ideas that may be causing the error below...
We have > 300 users in our Cognito user pool. When we run the node package cognito-export-users we get 282 users and at the end, instead of a properly formed json stream the last character is a % (rather than a ]). In looking for other packages that may get around this issue, I found yours and would fix the issue. It looks like we have the same issue here. Are you aware of a limitation of the APIs you are using in exporting more than 282 users?
File "cognito-export.py", line 93, in
data = CognitoExport(args[''], args['--profile'])
File "cognito-export.py", line 51, in init
data = json.loads(result.stdout.decode('utf-8'))
File "/Users/jfcarlso/opt/anaconda3/lib/python3.7/json/init.py", line 348, in loads
return _default_decoder.decode(s)
File "/Users/jfcarlso/opt/anaconda3/lib/python3.7/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/Users/jfcarlso/opt/anaconda3/lib/python3.7/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.