google-code-export / google-apis-explorer

Automatically exported from code.google.com/p/google-apis-explorer
Apache License 2.0
1 stars 3 forks source link

Google API calender V3 #244

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I am trying to insert calendar event to Google calender using C# code and 
getting below error 

I have created calendar project using Google developer console 
used calender id and calender secret to authenticate 

var credential = GoogleWebAuthorizationBroker.AuthorizeAsync(
                    new ClientSecrets
                    {
                        ClientId = clientId,
                        ClientSecret = clientSecret,
                    },
                    new[] { CalendarService.Scope.Calendar },
                    User,
                    CancellationToken.None).Result;

                var service = new CalendarService(new BaseClientService.Initializer
                {
                    HttpClientInitializer = credential,
                    ApplicationName = "Browser",
                    ApiKey = ""
                });

{
 "error": {
  "errors": [
   {
    "domain": "usageLimits",
    "reason": "dailyLimitExceededUnreg",
    "message": "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup.",
    "extendedHelp": "https://code.google.com/apis/console"
   }
  ],
  "code": 403,
  "message": "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup."
 }
}

Original issue reported on code.google.com by moholaka...@gmail.com on 8 Dec 2014 at 10:57