paulw77
Joined: 14/10/2020 22:09:29
Messages: 6
Offline
|
It's not a real problem, as I handle both cases but I'm curious as to what causes this.
When requesting Children Items
For some Items I get an exception:
{"status": {"message": "No Result Found", "value": 15}}
For other very similar Items using the very same API I'll actually get a JSON response:
{"totalResultsCount":0,"geonames":[]}
What determines whether one gets a Zero Item response vs an Exception?
The only issue I have is that I cache the data locally, but NOT the exceptions, so the next time a query is run for the same data my code will retry the data that gives exceptions since there is no item in the cache.
|