Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only able to export 100 messages at a time #18

Open
rainersalal opened this issue Mar 15, 2023 · 2 comments
Open

Only able to export 100 messages at a time #18

rainersalal opened this issue Mar 15, 2023 · 2 comments

Comments

@rainersalal
Copy link

I'm trying just about everything I can think and am not able to export any channels or direct messages over 100 messages. That seems to be the maximum, regardless of the value that I set in the initial command.

Here's what I'm entering:

java -jar .\rocketchat-exporter-1.1.2.jar --host "https://mychaturl.com" --maxMsg="50000" -o "./out" -u "[email protected]" -k=myuserid

I've tried using the --maxMsg variable both with and without double quotes, and I've also tried it in many different parts of the command, as well as switching back and forth between -m and --maxMsg. Nothing I do is changing the fact that I only get 100 messages returned.

Am I using the --maxMsg flag inappropriately somehow? Is this a setting that exists in my RocketChat installation that needs to be changed, and if so, where would I find that setting?

bvfalcon added a commit to bvfalcon/rocketchat-exporter that referenced this issue Aug 22, 2023
@seraphyn
Copy link

seraphyn commented Feb 7, 2024

I think this is in Rocketchat > Preferences Rest API maximum limit, not in your code

@michalkolodziejski
Copy link

actually the setting is hidden here: RocketChat -> Preferences -> General -> REST API -> Maximum number of records

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants