Hi guys,

I am doing a batch request to orkut and some times I am receiving
Authentication failed. Do you know if this is a internal problem?
Below I post my request and response.

This is my request:

[

        {
                "id": 0,
                "method": "messages.get",
                "params":
                {
                        "userId": "@me",
                        "groupId": "@friends",
                        "messageType": "public_message",
                        "count": 100,
                        "pageType": "first"
                }
        },

        {
                "id": 1,
                "method": "activities.get",
                "params":
                {
                        "userId": "@me",
                        "groupId": "@all",
                        "count": 100,
                        "fields":
                        [
                                "pageUrl",
                                "relevantProfiles",
                                "comments",
                                "description"
                        ],
                        "coalesce": true
                }
        },

        {
                "id": 2,
                "method": "messages.get",
                "params":
                {
                        "userId": "@me",
                        "groupId": "@friends",
                        "messageType": "notification",
                        "messageGroup": "birthdays"
                }
        }
]

And this is the response from orkut:

[

        {
                "id": "0",
                "error":
                {
                        "message": "unauthorized: Authentication failed.",
                        "code": 401
                }
        },

        {
                "id": "1",
                "error":
                {
                        "message": "unauthorized: Authentication failed.",
                        "code": 401
                }
        },

        {
                "id": "2",
                "error":
                {
                        "message": "unauthorized: Authentication failed.",
                        "code": 401
                }
        }
]

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

Reply via email to