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

Auth Emulator: Fails to import users when data size is > 100KB #3607

Closed
mgreenw opened this issue Jul 26, 2021 · 2 comments
Closed

Auth Emulator: Fails to import users when data size is > 100KB #3607

mgreenw opened this issue Jul 26, 2021 · 2 comments
Assignees

Comments

@mgreenw
Copy link

mgreenw commented Jul 26, 2021

[REQUIRED] Environment info

firebase-tools: 9.16.0

Platform: macOS 11.2.3

[REQUIRED] Test case

Add at least 500 auth users to a fresh hosted firebase project

[REQUIRED] Steps to reproduce

  1. Generate test case data
  2. Export those users with firebase auth:export accounts.json
  3. Start a new firebase emulator with firebase emulators:start --import ./emulators/local --export-on-exit
  4. Exit the emulator, and then copy accounts.json to the correct location in the new emulator export (auth_export/accounts.json).
  5. Start up the emulator again

[REQUIRED] Expected behavior

The auth emulator to start and import all of the users.

[REQUIRED] Actual behavior

Error: Error during Auth Emulator import: Received HTTP status code: 413
{
  "message": "request entity too large",
  "limit": 100000,
  "received": 126634,
  "type": "entity.too.large"
}
error Command failed with exit code 1.
@google-oss-bot
Copy link
Contributor

This issue does not have all the information required by the template. Looks like you forgot to fill out some sections. Please update the issue with more information.

@yuchenshi
Copy link
Member

Duplicate of #3577.

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

No branches or pull requests

4 participants