Troubleshooting Document Import Error
TLDR GM faced error issues while importing documents, possibly due to geolocation values. Patrik offered possible causes and Kishore Nallan identified the main issue and resolution.
1
Oct 25, 2022 (14 months ago)
GM
07:07 AMThere were some errors importing your documents.
[
{
"code": 400,
"document": "{\"storename\":\"String Value\",\"ZipCode\":0,\"Street\":\"String Value\",\"City\":\"String Value\",\"State\":\"String Value\",\"location\":[1,-1],\"Address\":\"String Value\",\"Country\":\"String Value\",\"phone\":\"String Value\",\"points\":0}",
"error": "[json.exception.type_error.302] type must be number, but is array",
"success": false
}
]
Patrik
07:39 AMGM
07:39 AMGM
07:40 AMPatrik
07:41 AMPatrik
07:42 AMGM
07:42 AMGM
07:43 AMPatrik
07:44 AMPatrik
07:45 AMKishore Nallan
07:55 AMGM
07:59 AMKishore Nallan
07:59 AMGM
08:14 AM1
Typesense
Indexed 3011 threads (79% resolved)
Similar Threads
Issues in Transferring Data from Firestore to Typesense
Ramees encountered issues in Google Cloud Function Log for data transfer from firestore to typesense. Jason helped troubleshoot, updated the cluster, increased the connection timeout, and resolved the issue.
Resolving Typesense v0.22.0 Import Issues
Anton encountered issues importing documents in batches using Typesense v0.22.0. Kishore Nallan suggested using atomic import and proposed a debug build. After multiple trials, they were able to reproduce and fix the issue. Anton confirmed the solution was working.
Troubleshooting Issues with DocSearch Hits and Scraper Configuration
Rubai encountered issues with search result priorities and ellipsis. Jason helped debug the issue and suggested using different versions of typesense-docsearch.js, updating initialization parameters, and running the scraper on a Linux-based environment. The issues related to hits structure and scraper configuration were resolved.
Issues with Importing Typesense Collection to Different Server
Kevin had problems migrating a Typesense collection between Docusaurus sites on different machines. Jason advised them on JSONL format, handling server hosting, and creating a collection schema before importing documents, leading to successful import.
Trouble with Creating Collections and Uploading Documents with GeoPoints
Ed is struggling to create a collection and upload documents with geopoints in the cloud due to consistent timeout errors. Kishore Nallan suggests using a recent build and trying with a single document first, and offers to help further when available.