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

Record is too large. Payload size too big. Skipping... #154

Open
nikhilbhalwankar opened this issue Mar 28, 2023 · 1 comment
Open

Record is too large. Payload size too big. Skipping... #154

nikhilbhalwankar opened this issue Mar 28, 2023 · 1 comment

Comments

@nikhilbhalwankar
Copy link

nikhilbhalwankar commented Mar 28, 2023

I have around 2800 documents from cloud firestore collection to be imported into algolia for indexing. However only 2200 are getting imported. For remaining below error is thrown

{"severity":"WARNING","message":"[\n 'Payload size too big, skipping ...',\n Error: Record is too large.\n at extract (/home/nikhil/.npm/_npx/0ca4ecfa9810ae5b/node_modules/firestore-algolia-search/lib/extract.js:60:15)\n at runMicrotasks (<anonymous>)\n at processTicksAndRejections (internal/process/task_queues.js:95:5)\n at async processQuery (/home/nikhil/.npm/_npx/0ca4ecfa9810ae5b/node_modules/firestore-algolia-search/lib/import/index.js:53:29)\n at async retrieveDataFromFirestore (/home/nikhil/.npm/_npx/0ca4ecfa9810ae5b/node_modules/firestore-algolia-search/lib/import/index.js:79:9)\n]"}

How to find which document has large record? I am using below command to import data

npx firestore-algolia-search

@amit20897
Copy link

To find which are not getting imported, you can check algolia directly.

use this link (update your app id):
https://dashboard.algolia.com/apps/<APP_ID>/explorer/logs

or go to:
Your index -> Click the "Search API Logs" tab -> search for 400 error -> check the request data tab

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

2 participants