Error 500 when getting geo points with includemetadata=true param

Hey,

I’m receiving this error when I try to get geo points with their metadata.









curl -H application-id:"88199439-18A4-5C80-FF8E-8F0276A2EE00" -H secret-key:"<secret-key>" -H Content-Type:"application/json" -H application-type:REST -X GET -v "http://api.backendless.com/v1/geo/points?lat=52.12&lon=16.05&r=10000&units=KILOMETERS&categories=rooms&includemetadata=true"

*   Trying 52.72.160.204...

* Connected to api.backendless.com (52.72.160.204) port 80 (#0)

> GET /v1/geo/points?lat=52.12&lon=16.05&r=10000&units=KILOMETERS&categories=rooms&includemetadata=true HTTP/1.1

> Host: api.backendless.com

> User-Agent: curl/7.43.0

> Accept: */*

> application-id:88199439-18A4-5C80-FF8E-8F0276A2EE00

> secret-key:<secret-key>

> Content-Type:application/json

> application-type:REST

> 

< HTTP/1.1 500 Internal Server Error

< Access-Control-Allow-Headers: origin, application-id, application-type, content-type, secret-key, request, user-token

< Access-Control-Allow-Methods: POST, GET, OPTIONS, PUT, DELETE, PATCH

< Access-Control-Allow-Origin: *

< Content-Type: application/json

< Date: Sat, 26 Mar 2016 15:18:03 GMT

< Server: nginx/1.8.1

< Content-Length: 66

< Connection: keep-alive

< 

* Connection #0 to host api.backendless.com left intact

Internal server error with id 09B9CA8E-5D2F-22FE-FF65-7FFBA046A400



Without includemetadata=true response is 200.

Thanks for your help.

Best,
Matt

Hi Matt!
This issue related to this topic
http://support.backendless.com/t/500-internal-server-error-with-geo-point-that-worked-100-times-before
We will update production server with these changes on the next week.
Regards,
Kate.

Hey Kate,

Thanks for the link. I’ve manage to fix recursive dependency in my data tables and now request works.

Best,
Matt

Hi Matt.
Sorry for delay.
This issue fixed. Could you try it?
Regards,
Kate.

Looks OK but when the autoload option is turned on it returns error 500 described in your first link.