Just noticed this:

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

Did you cross check the album id ?

-Robson Dantas

2010/10/26 Niall <nialloughn...@gmail.com>

> Hi,
>
>
>
> im getting a 500 Internal Server Error from the Orkut API when trying
> to delete a media item when the folder id is invalid or the folder is
> missing,
>
>
>
> i'm using the Orkut os client:
>
> http://orkut-os-client.googlecode.com/files/orkut-os-client-1.1-9c77cf447d.tar.bz2
>
>
>
> the request that i'm sending is:
> "
> 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"}]
> "
>
> the response is:
> "
> 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<opensocial-orkut%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/opensocial-orkut?hl=en.
>
>

-- 
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