Error creating any kind of objects

29 views
Skip to first unread message

sziegler

unread,
May 23, 2013, 1:57:47 PM5/23/13
to spring...@googlegroups.com
Hi guys,

some users of my app OrganizeMe! recently reported that they are unable to create any kind of objects. Interestingly this works with the chrome version, but not with the webOS client. But it's the same app and I did not change anything at this app in this year. So something must have changed at your side, is that possible?

E.g. sending this kind of data from my account ("svzi"):

[["create","Note","/UUID(363cae9f-6c57-41c3-bcbc-134e1c289b00)/"],["set","/UUID(363cae9f-6c57-41c3-bcbc-134e1c289b00)/","name","WebOS Test"],["set","/UUID(363cae9f-6c57-41c3-bcbc-134e1c289b00)/","text","Content"],["set","/UUID(363cae9f-6c57-41c3-bcbc-134e1c289b00)/","workbooks",["3630d075-445e-4864-b733-8d293a48b0d0"]]]

Results in the onSuccess method, but with an empty response. Some time ago there was a "success" property inside the response, stating true or false. This is missing right now. Does anyone has an idea why it's missing now?

Best,
Sven

Chuck Garofalo

unread,
May 23, 2013, 3:42:42 PM5/23/13
to spring...@googlegroups.com
Hi Sven.  I tried out the commands and they run fine for me.  Incidentally, I noticed that there is a small problem here in that the "set" command is being called on the workbooks field.  The "add" command should be used instead since it is a list field.

Can you send me the headers for that request and response?  It must be something about how we are handling traffic from webOS.

Thanks,
Chuck

Sven Ziegler

unread,
May 23, 2013, 3:51:06 PM5/23/13
to spring...@googlegroups.com
Sure,

I use this headers for the POST request:

headers = {

                "X-Spring-Username": username, 

                "X-Spring-Password" : password,

                "X-Spring-Api-Token" : apkKey, 

                "X-Spring-Client-Version""1.0.0"

                "X-Spring-Client""SpingOnTouch"

                "Content-Type""application/json; charset=UTF-8",

                "Referer""http://sven-ziegler.com"

                "X-Spring-Api-Version" : "7"

            };


The response is empty.

Best,

Sven



2013/5/23 Chuck Garofalo <cgar...@springpartners.com>

sziegler

unread,
May 23, 2013, 4:11:21 PM5/23/13
to spring...@googlegroups.com
Maybe this is interesting too (XHR object):

{"readyState":4,"onloadstart":null,"withCredentials":false,"onerror":null,"onabort":null,"status":0,"responseXML":null,"onload":null,"onprogress":null,"upload":{"onloadstart":null,"onabort":null,"onerror":null,"onload":null,"onprogress":null},"statusText":"","responseText":""}

Cheers,
Sven

Chuck Garofalo

unread,
May 24, 2013, 9:32:56 AM5/24/13
to spring...@googlegroups.com
Hi Sven.  I tested out those commands with the same headers and still no problem.  It seems likely that it is being caught in our load balancers and not making it to our api servers as they don't appear to have a problem with it.  One last (I hope) question.  Do you have the full request with user-agent headers as well?

By the way, I noticed a misspelling in the X-Spring-Client header.  And you should be able to change that now that we renamed it on our side.

Thanks,
Chuck


On Thursday, May 23, 2013 4:11:21 PM UTC-4, sziegler wrote:
Maybe this is interesting too (XHR object):

{"readyState":4,"onloadstart":null,"withCredentials":false,"onerror":null,"onabort":null,"status":0,"responseXML":null,"onload":null,"onprogress":null,"upload":{"onloadstart":null,"onabort":null,"onerror":null,"onload":null,"onprogress":null},"statusText":"","responseText":""}

Cheers,
Sven

Am Donnerstag, 23. Mai 2013 21:51:06 UTC+2 schrieb sziegler:
Sure,

I use this headers for the POST request:

headers = {

                "X-Spring-Username": username, 

                "X-Spring-Password" : password,

                "X-Spring-Api-Token" : apkKey, 

                "X-Spring-Client-Version""1.0.0"

                "X-Spring-Client""SpingOnTouch"

                "Content-Type""application/json; charset=UTF-8",

                "Referer""http://sven-ziegler.com"

                "X-Spring-Api-Version" : "7"

            };


The response is empty.

Best,

Sven



2013/5/23 Chuck Garofalo <cgar...@springpartners.com>

sziegler

unread,
May 24, 2013, 9:48:55 AM5/24/13
to spring...@googlegroups.com
Hi Chuck,

what do you exactly need? This is the user-agend: "Mozilla/5.0 (hp-tablet; Linux; hpwOS/3.0.5; U; de-DE) AppleWebKit/534.6 (KHTML, like Gecko) wOSSystem/234.83 Safari/534.6 TouchPad/1.0". I've changed the X-Spring-Client header accordingly, but nothing has changed.

It's also worth mentioning that the same app, same code version, runs fine in Chrome and on the BlackBerry PlayBook. But all webOS device have trouble, I don't know exactly since when. One user reported me, that he has at least created an item with the app in march. webOS by itself has not been updated since 2011, so I guess that can't be an issue. My latest update for OrganizeMe! was in 2012, so my thought is that it's something that changed on Springpads side, in the last weeks / months.

Cheers,
Sven

Chuck Garofalo

unread,
May 31, 2013, 8:31:52 AM5/31/13
to spring...@googlegroups.com
Thanks Sven.  I'll see if we are somehow handling requests from that client differently then from other clients.

Chuck
Reply all
Reply to author
Forward
0 new messages