Skip Menu |

This queue is for tickets about the Net-Google-Calendar CPAN distribution.

Report information
The Basics
Id: 100521
Status: open
Priority: 0/
Queue: Net-Google-Calendar

People
Owner: Nobody in particular
Requestors: paolosaudin [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: 403 Forbidden
Date: Mon, 24 Nov 2014 10:11:15 +0100
To: bug-Net-Google-Calendar [...] rt.cpan.org
From: Paolo Saudin <paolosaudin [...] gmail.com>
From today I get a "403 Forbidden at C:/Perl64/site/lib/Net/Google/Calendar.pm line 629." error when calling the $cal->get_calendars function on two different accounts here the sample code use Net::Google::Calendar; $username = 'xxxx@gmail.com'; $password = 'xxxx'; # this will get you a read-write feed. my $cal = Net::Google::Calendar->new; $cal->login($username, $password); my $c; for ($cal->get_calendars) { print $_->title."\n"; print $_->id."\n\n"; $c = $_ if ($_->title eq 'My Non Default Calendar'); } $cal->set_calendar($c); print $cal->id." has ".scalar($cal->get_events)." events\n"; Thank you very much paolo saudin
From: mcgrath.martin [...] gmail.com
On Mon Nov 24 09:11:31 2014, paolosaudin@gmail.com wrote: Show quoted text
> From today I get a "403 Forbidden at > C:/Perl64/site/lib/Net/Google/Calendar.pm line 629." error when calling > the $cal->get_calendars function on two different accounts > > here the sample code > > use Net::Google::Calendar; > > $username = 'xxxx@gmail.com'; > $password = 'xxxx'; > > # this will get you a read-write feed. > my $cal = Net::Google::Calendar->new; > $cal->login($username, $password); > > my $c; > for ($cal->get_calendars) { > print $_->title."\n"; > print $_->id."\n\n"; > $c = $_ if ($_->title eq 'My Non Default Calendar'); > } > $cal->set_calendar($c); > print $cal->id." has ".scalar($cal->get_events)." events\n"; > > > Thank you very much > paolo saudin
It's always a good idea to check the existing open tickets before creating a new one: https://rt.cpan.org/Public/Bug/Display.html?id=100421 Cheers Martin
From: dan.bolser [...] gmail.com
It's always a good idea to flag broken code as broken.