Get "keyInvalid" 400 error when I try to use orkut V2 restful api with oauth1. It works well by using oauth2.

143 views
Skip to first unread message

Min Li

unread,
Mar 16, 2012, 1:49:42 AM3/16/12
to opensoci...@googlegroups.com
GET /orkut/v2/people/me/activities/all?pp=1&key=www.weisuite.com HTTP/1.1
Host: www.googleapis.com
Accept: */*
Authorization: OAuth oauth_version="1.0", oauth_nonce="b202e59c24bf4ecaa4bf230e9ea1fd72", oauth_timestamp="1331876410", oauth_consumer_key="www.weisuite.com", oauth_token="1%2FbHJ7CHIuVr7maR1LesRKLs1OpSiis_c9j__tgcMPVLo", oauth_signature_method="HMAC-SHA1", oauth_signature="8ChtJ3vJuWh9b2GYstT0w%2B2GMCk%3D"
Content-Type: application/atom+xml
GData-Version: 2.0

HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=UTF-8
Date: Fri, 16 Mar 2012 05:40:10 GMT
Expires: Fri, 16 Mar 2012 05:40:10 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

{
 "error": {
  "errors": [
   {
    "domain": "usageLimits",
    "reason": "keyInvalid",
    "message": "Bad Request"
   }
  ],
  "code": 400,
  "message": "Bad Request"
 }
}
Reply all
Reply to author
Forward
0 new messages