Error Message in REST API Query
TLDR Jason encountered an error message when using REST API. Kishore Nallan asked for the API call. Jason resolved the issue, realizing it was a user error.
Powered by Struct AI


3
6mo
Solved
Mar 22, 2023 (6 months ago)
Jason
Jason
03:02 AMA little confused be the following error message:
This error message is returned when using the REST API but not when calling via library code.
Any ideas?
"Field `city` has been declared in the schema, but is not found in the document."
This error message is returned when using the REST API but not when calling via library code.
Any ideas?
Kishore Nallan
Kishore Nallan
03:03 AMThe library is just a thin wrapper around the API. Can you post the API call that triggers this error?
Jason
Jason
03:12 AMThe problem was actually between the keyboard and the chair


Typesense
Lightning-fast, open source search engine for everyone | Knowledge Base powered by Struct.AI
Indexed 2764 threads (79% resolved)
Similar Threads
Fixing "bad json" error in Typesense 0.24
Adam experiences "bad json" error when creating collections in Typesense 0.24. Jason identifies a typo in the docs causing the error and helps troubleshoot additional errors.



23
6mo
Solved
Troubleshooting RequestMalformed Error in Schema Creation
Ailish had issues with creating a schema and received a "RequestMalformed Error". Jason advised making `"type": "auto"` fields optional and specifying the types upfront.

6
18mo
Solved
Resolving Error with JSON Boolean Field
GM faced an error with a JSON boolean field, Jason suggested checking the field definition. After using curl commands, GM realized the issue and discussed improving error messages.
10
3mo
Solved