Menu

Response error

2010-09-17
2013-05-14
  • Nobody/Anonymous

    Hello,
    i've configured lightrod on my server and i started to populate my db.
    Then i've tried to test my layer in the layar API test page, but when searching for POIs i get an error due to parsing JSON responses.
    Response received from provider, validating…

    error validating provider response - Traceback (most recent call last): File "/base/data/home/apps/layarservice/live403.344852733273891554/webapi20/apitesthandler.py", line 168, in validate_response pois = json.loads(provider_response) File "/base/python_runtime/python_lib/versions/third_party/django-0.96/django/utils/simplejson/__init__.py", line 232, in loads return cls(encoding=encoding, **kw).decode(s) File "/base/python_runtime/python_lib/versions/third_party/django-0.96/django/utils/simplejson/decoder.py", line 251, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/base/python_runtime/python_lib/versions/third_party/django-0.96/django/utils/simplejson/decoder.py", line 270, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded

    JSON parse error( most likely)!, validate your response at <a href='http://www.jsonlint.com/'>http://www.jsonlint.com/</a>

    Error validating response…

    someone knows how to fix it??

    thank you

     
  • Peter Abrahamson

    Hi,

    Could you provide me with your LightRod install url?  We need to make sure your JSON server is working (can test this by running /layar-server.php in a web browser and checking what it responds with), and that it is connecting to your db OK.  Check that the owlz.org location browser is working on your data too.

    Best regards,
    Peter

    peter AT lightrod.org

     

Log in to post a comment.