import com.google.gdata.client.spreadsheet.SpreadsheetService;

public class Test {
        public static void main(String[] args) {
                try {
                        SpreadsheetService service = new
SpreadsheetService("MySpreadsheetService");
                        service.setUserCredentials("username@mydomain", 
"password");
                } catch (Exception e) {
                        e.printStackTrace();
                }
        }
}

This code is throwing me invalid credentials exceptions, but the
credentials I have used are valid.

Can you please help me identify whats the issue?

Thanks & Regards,
Sarath

Reply via email to