Posting via API

25 views
Skip to first unread message

John R

unread,
Jul 17, 2012, 6:20:38 PM7/17/12
to seesmic-ping-api-...@googlegroups.com
I'm trying to post via the API but I keep getting this:
{"success":false,"reason":"upstream server error or internal server error (Current token (VALUE_STRING) not numeric, can not use numeric value accessors\n at [Source: org.mortbay.jetty.HttpParser$Input@b196f38; line: 1, column: 200])"}

This is the JSON I'm trying to POST:
{"destinations":[{"account":{"id":"1a21145d-c8f6-43ae-8b08-fdb3d1d724e5","target":{"id":"701719046"}}}],"links":[],"message":"This is an API Test for Twitter!","scheduled":"2012-07-17T22:21:08.166Z"}

I'm using C#, tried both WebClient.UploadString and HttpWebRequest writing to the request stream, with method set to POST, url as "https://api.seesmic.com/1/posts.json", and content type as "application/json" with the proper authentication header (I've been able to get the service list and account list just fine).

Any help with this would be greatly appreciated, we really want to make great use of this API.

John R

unread,
Jul 17, 2012, 6:58:14 PM7/17/12
to seesmic-ping-api-...@googlegroups.com
Well, nevermind, the issue seems to have vanished...
Reply all
Reply to author
Forward
0 new messages