Hi, Sar.

Can you please give us the exact error message?

Additionally, what happens if you send the same request to
sandbox.orkut.gmodules.com?

Thanks,
Tiago

On Jul 30, 1:13 pm, Sar Exclaim <sarexcl...@gmail.com> wrote:
> Hello I am getting Orkut Upload error in mediaitems.create. I am
> using
>
> string mediaItem = "[{\"params\":{\"userId\":\"" + userId + "\",
> \"groupId\":\"" + groupId + "\"," +
>                             "\"albumId\":\"" + albumId + "\",
> \"mediaitem\":{\"title\":\"" + imageTitle + "\",\"url\":\"@field:" +
> ParamName + "\"}}," +
>                                 "\"method\":\"" + methodName + "\",\"id
> \":\"0-p.g\"}]";
>
> this as JSON request. These same accesstoken and accessSecret works
> for GetAlbum. I am using ContentType as multipart/form-data in HTTP
> Request.
> If I change this content-type to application/json, I am not getting
> unauthorized error.
>
> Can anybody please let me know the root-cause of this issue.
>
> Let me know if you want anything more.

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