Page 1 of 2

Need help response paramaters error.

Posted: Sat Aug 18, 2012 7:00 pm
by Rupert Marx

Need help with JSON formatting error. I am following a tutorial on your site: http://help.gotiggr.com/getting-start... but I get an error stating the incorrect format. When trying to complete step 11. But I copied the JSON response directly from StackMob. See below:

{
"createddate": 1345198956746,
"text": "Hello",
"messages_id": "a85083dd233e422a8a0d2267b176c037",
"lastmoddate": 1345198956746
}, {
"createddate": 1345198967157,
"text": "World",
"messages_id": "2c324fcca697443387d7f5a9408828bc",
"lastmoddate": 1345198967157
}, {
"createddate": 1345198972697,
"text": "Mobile",
"messages_id": "3a096c502e394c3ea59088e4b8949921",
"lastmoddate": 1345198972697
}

Can you help?


Need help response paramaters error.

Posted: Sat Aug 18, 2012 7:14 pm
by maxkatz

I'm getting an error when I validate it here: http://jsonlint.com/


Need help response paramaters error.

Posted: Sat Aug 18, 2012 7:17 pm
by Rupert Marx

Hi Max,

I got it on jsonlint. But still not in tiggzi. Here is the correct JSON:

[
{
"createddate": 1345198956746,
"text": "Hello",
"messages_id": "a85083dd233e422a8a0d2267b176c037",
"lastmoddate": 1345198956746
}, {
"createddate": 1345198967157,
"text": "World",
"messages_id": "2c324fcca697443387d7f5a9408828bc",
"lastmoddate": 1345198967157
}, {
"createddate": 1345198972697,
"text": "Mobile",
"messages_id": "3a096c502e394c3ea59088e4b8949921",
"lastmoddate": 1345198972697
}
]


Need help response paramaters error.

Posted: Sat Aug 18, 2012 7:22 pm
by maxkatz

This JSON works for me in Tiggzi. Where do you use it?


Need help response paramaters error.

Posted: Sat Aug 18, 2012 7:25 pm
by Rupert Marx

If you follow this link:http://help.gotiggr.com/getting-start...

Step 10 and 11 is not working I get the error there...


Need help response paramaters error.

Posted: Sat Aug 18, 2012 7:37 pm
by maxkatz

Strange.. that worked for me. When you paste, is there an extra line at the ver top? If yes, delete it.


Need help response paramaters error.

Posted: Sat Aug 18, 2012 7:41 pm
by Rupert Marx

No extra line. I just constructed it manually. I take it that would be fine right?


Need help response paramaters error.

Posted: Sat Aug 18, 2012 7:45 pm
by maxkatz

Typed the entire response or did copy and paste?


Need help response paramaters error.

Posted: Sat Aug 18, 2012 7:46 pm
by Rupert Marx

Copy and past


Need help response paramaters error.

Posted: Sat Aug 18, 2012 7:48 pm
by maxkatz

Can you attach a screen shot of the error?