Troubleshooting Import API Errors in Typesense
TLDR Atul was having trouble with import API errors, which Jason suggested might be due to a bug or missing fields. Upgrading solved the import issue but led to new problems with schemas and facet attributes.
1
Oct 11, 2023 (1 month ago)
Atul
04:14 PMTo I am trying to import data through import api.
I am getting this error
"error":"[json.exception.type_error.302] type must be string, but is null","success":false}
.Atul
04:14 PMJason
04:16 PM1
Jason
04:16 PMJason
04:17 PM0.25.2.rc4
and try again, if the above doesn't fix itAtul
04:17 PMJason
04:18 PMAtul
04:19 PMJason
04:19 PMOct 12, 2023 (1 month ago)
Atul
04:10 AMI upgraded the version to
0.25.2.rc4
. I was able to upload the data on the newer version.Now I am facing another strange issue. My recent new attributes got removed from the schema :facepalm:.
Please let me know if there is any quick solution.
TIA.
Atul
04:13 AMerror: "Could not find a facet field named
my__attribute in the schema."
Jason
04:12 PMTypesense
Indexed 3011 threads (79% resolved)
Similar Threads
Resolving Typesense 0.22.2 Syntax Error and Import Issues
John faced issues with Typesense 0.22.2 code syntax and import functionality. Jason advised to reformat the JSONL records into single lines, increase ulimit, and convert dates to int64 format manually in code. A typo in the code was also corrected.
Issues with Indexing Data using Typesense in Go
Konrad was having trouble with a "Forbidden" error using Typesense in Go when indexing data remotely. David offered multiple troubleshooting steps and suggestions. Ultimately, Konrad discovered the issue lied within the application code.
Typesense Bug Fix with `canceled_at` Field and Upgrade Concerns
Mateo reported an issue regarding the treatment of an optional field by Typesense which was confirmed a bug by Jason. After trying an upgrade, an error arose. Jason explained the bug was due to a recent change and proceeded to downgrade their version. Future upgrade protocols were discussed.
Issue with Embedding Error in Version 0.25.0.rc63
Bill reported a bug in version 0.25.0.rc63 regarding a problem with updating or emplacing a document and receiving an embedding error. This was resolved in version 0.25.0.rc65, but further discussion ensued regarding the function of 'index' in the update feature.
Trouble with Document Error in Indexing
Hauke is encountering an error during indexing with a specific field and working to provide Kishore Nallan with a reproducible example. Kishore Nallan gave troubleshooting advice, but issue not yet resolved.