Skip Menu |

This queue is for tickets about the WWW-Salesforce-Report CPAN distribution.

Report information
The Basics
Id: 66504
Status: new
Priority: 0/
Queue: WWW-Salesforce-Report

People
Owner: Nobody in particular
Requestors: theron [...] groupon.com
Cc:
AdminCc:

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



Subject: Please login() before doing any other operations
The module seems to have stopped working—I've used the same code for months without incident, and then last month it started throwing this error: "Please login() before doing any other operations at sffix.pl line 17" However, if I look at the login history within Salesforce, it reports it as a login success: 3/9/2011 12:46:09 PM CST 209.117.164.166 Application Success IE 6 WinXP Browser N/A N/A N/A login.salesforce.com If I change the password to an incorrect password it says: "Cannot Login with user me@myorganization.com" I'm using Perl v5.10.0 built for darwin-thread-multi-2level on MAC OS 10.6.5. Here's the code I use (user/pass have been changed), which is basically copied directly from CPAN. my $sfr = WWW::Salesforce::Report->new( id=> "00OC00000045K3h", user=> "me\@myorganization.com", password => "mypassword" ); $sfr->login(); my $xls_data = $sfr->get_report(format => "csv"); my $name = $sfr->write(file=> "leadflowdata.csv", compress => 0);