Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Internal server error 500 - query places by distance and location

$
0
0

Hello acs team, I have an iOS app that queries places by distance and location, And this specific query doesn't work for several days. I read about more people here that have the same issue. My query look like this (and it worked perfectly until couple of days ago): NSString *condition = [NSString stringWithFormat:@"{\"lnglat\":{\"$nearSphere\":[%@,%@], \"$maxDistance\":%@}}", [NSNumber numberWithDouble:longitude], [NSNumber numberWithDouble:latitude], [NSNumber numberWithDouble:d]]; when i try this query i get this answer:

"meta": { "status": "fail", "code": 500, "message": "Error: Internal Server Error", "method_name": "queryPlaces" }

Other queries are working fine!


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>