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

Random ACS issue

$
0
0

Here is the response I am getting when querying ACS, on both wifi and LTE:

[INFO] :   {
[INFO] :       error = 1;
[INFO] :       message = "JSON Parse error: Unexpected identifier \"The\"";
[INFO] :       success = 0;
[INFO] :   }

The first time I saw this error was after I logged into ACS dashboard and updated a profile picture of a user by selecting an existing photo. Got this error shortly after, deleted users and was good to go..

Now I see this error again when I am trying to login an existing user. I have confirmed the user exists in ACS dashboard but not quite sure why I am getting this error, here are some more details hoping someone can decrypt..

When app first launches I retrieve a list of products (custom objects)

[INFO] :   ACS Request: { url: "objects/products/query.json", verb: "GET", data: {"skip":0,"limit":20,"where":{"coordinates":{"$nearSphere":[-84.61983489990234,39.106048583984375],"$maxDistance":0.01262945188178833}}} })
[INFO] :   GET: https://api.cloud.appcelerator.com/v1/objects/products/query.json?key=<key>&skip=0&limit=20&where=%7B%22coordinates%22%3A%7B%22%24nearSphere%22%3A%5B-84.61983489990234%2C39.106048583984375%5D%2C%22%24maxDistance%22%3A0.01262945188178833%7D%7D&suppress_response_codes=true&ti_analytics=%7B%22id%22%3A%227B090F9F-6480-4455-B956-7A9169278AB7%22%2C%22mid%22%3A%2253CB3958-65F5-437D-95DB-3312CC036969%22%2C%22aguid%22%3A%226e52baea-498f-4b3a-b505-07d94f4bfba7%22%2C%22event%22%3A%22cloud.objects.products.query%22%2C%22deploytype%22%3A%22test%22%2C%22sid%22%3A%22468D0150-1E84-4D61-B3A1-662C6B0A29FB%22%7D
[INFO] :   header: {}
[INFO] :   data: {}
[ERROR] :  Analytics error sending request: The request timed out.
[ERROR] :  Analytics error sending request: The request timed out.
[ERROR] :  Analytics error sending request: The request timed out.
[ERROR] :  undefined: JSON Parse error: Unexpected identifier "The"
[INFO] :   {
[INFO] :       error = 1;
[INFO] :       message = "JSON Parse error: Unexpected identifier \"The\"";
[INFO] :       success = 0;
[INFO] :   }
And here again when trying to login:
[INFO] :   ACS Request: { url: "users/login.json", verb: "POST", data: {"login":"Becca","password":"becca"} })
[INFO] :   POST: https://api.cloud.appcelerator.com/v1/users/login.json?key=<key>
[INFO] :   header: {}
[INFO] :   data: {"login":"Becca","password":"becca","suppress_response_codes":"true","ti_analytics":"{\"id\":\"DDAB0709-F824-45C0-881C-9AD83721D7EB\",\"mid\":\"53CB3958-65F5-437D-95DB-3312CC036969\",\"aguid\":\"6e52baea-498f-4b3a-b505-07d94f4bfba7\",\"event\":\"cloud.users.login\",\"deploytype\":\"test\",\"sid\":\"881EEEF3-B113-4A23-99EA-A6C8891C3560\"}"}
[ERROR] :  undefined: JSON Parse error: Unexpected identifier "The"

Viewing all articles
Browse latest Browse all 8068

Trending Articles



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