0

I tried the calendar-appengine-sample on google calendar api java sample and when I used the client_secrets.json for running in localhost it always give me back my calendar list, but when I use the client_secrets.json to be run on google app engine, it give me following error message :

ERROR: 401
{
  "code" : 401,
  "errors" : [ {
    "domain" : "global",
    "location" : "Authorization",
    "locationType" : "header",
    "message" : "Invalid Credentials",
    "reason" : "authError"
  } ],
  "message" : "Invalid Credentials"
}

Before it work with the same client_secrets.json, but suddenly it doesn't work. Would anyone be so kindly tell me how to fix this problem?

thanks.

vahid abdi
  • 9,636
  • 4
  • 29
  • 35
user1012283
  • 343
  • 2
  • 13

1 Answers1

0

I had asked this some time back (assuming your using version 3 of the API), and here is a potential answer.

If you get a 403 error, which I did after fixing this then try this.

Community
  • 1
  • 1
Justin Phillips
  • 1,358
  • 2
  • 12
  • 26
  • Hi Justin, thanks for your reply. It's still doesn't work for me and in my case I used client_secrets.json as per following code : http://pastebin.com/uPNLi2Ru – user1012283 Feb 26 '14 at 02:14