#community-help

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
smile3
slightly_smiling_face1
3
6mo
Solved
Join the chat
Mar 22, 2023 (6 months ago)
Jason
Photo of md5-c7ebbbcac16a1763e16d0e8e8177b0ae
Jason
03:02 AM
A little confused be the following error message:
"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
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
03:03 AM
The library is just a thin wrapper around the API. Can you post the API call that triggers this error?
Jason
Photo of md5-c7ebbbcac16a1763e16d0e8e8177b0ae
Jason
03:12 AM
The problem was actually between the keyboard and the chair
smile3
slightly_smiling_face1