Hi,


i'm using the Orkut os client:

http://orkut-os-client.googlecode.com/files/orkut-os-client-1.1-9c77cf447d.tar.bz2



when i make a request to method: mediaitems.delete with a folder id
that doesn't exist or the folder id is empty then i'm getting a 500
Internal Error from Orkut,



here is the request:

POST /social/rpc?
oauth_token=1%2FDxzKBkQfeOtFcph8n8J5366ogRS1ZiEp1lUxRNWEYxY&oauth_consumer_key=orangeproxydev.newbay.com&oauth_signature_method=HMAC-
SHA1&oauth_timestamp=1288105949&oauth_nonce=603199340453567&oauth_signature=klfWV58MPjIDuwCgsmjRU4YhBKU
%3D HTTP/1.1
Content-Type: application/json
X-Orkut-Client-Lib: 0.1
User-Agent: Jakarta Commons-HttpClient/3.1
Host: www.orkut.com
Content-Length: 160

[{"params":
{"mediaItemId":"1234567890","albumId":"invalidAlbumId","groupId":"@self","userId":"15461369407832016069"},"id":"1-
m.d","method":"mediaitems.delete"}]


response:

HTTP/1.1 200 OK
Set-Cookie: S=neworkut_borg=00wyD6AsTX5kLKZEheSg6w; Path=/; HttpOnly;
HttpOnly
Content-Type: application/json; charset=UTF-8
Date: Tue, 26 Oct 2010 15:11:05 GMT
Expires: Tue, 26 Oct 2010 15:11:05 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE
Transfer-Encoding: chunked

65

[{"id":"1-m.d","error":{"message":"internalError: For input string:
\"invalidAlbumId\"","code":500}}]

0



any ideas?

Cheers,

Niall

-- 
You received this message because you are subscribed to the Google Groups 
"orkut Developer Forum" group.
To post to this group, send email to opensocial-or...@googlegroups.com.
To unsubscribe from this group, send email to 
opensocial-orkut+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en.

Reply via email to