BBIS\ Cannot import Gmail contacts

 When importing contacts you are first presented with the following:

 

An anonymous application is requesting access to your Google Account for the product(s) listed below.

  •  Google Contacts

If you grant access, you can revoke access at any time under 'My Account'. The anonymous application will not have access to your password or any other personal information from your Google Account. Learn more

This website has not registered with Google to establish a secure connection for authorization requests. We recommend that you continue the process only if you trust the following destination:

 

     http://40731s.blackbaudhosting.com/ork2013/page.aspx?pid=10199

 

Once you click Grant Access you get the following error:

Server Error in '/' Application.

 

Execution of request returned unexpected result: http://www.google.com/m8/feeds/contacts/default/full?max-results=3000MovedPermanently

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

 

Exception Details: Google.GData.Client.GDataRequestException: Execution of request returned unexpected result: http://www.google.com/m8/feeds/contacts/default/full?max-results=3000MovedPermanently

 

Source Error: 

 

 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace: 

 

 


[GDataRequestException: Execution of request returned unexpected result: http://www.google.com/m8/feeds/contacts/default/full?max-results=3000MovedPermanently]
   Google.GData.Client.GDataRequest.Execute() +1438
   Google.GData.Client.GDataGAuthRequest.Execute(Int32 retryCounter) +1069
   Google.GData.Client.Service.Query(Uri queryUri, DateTime ifModifiedSince, String etag, Int64& contentLength) +437
   Google.GData.Client.Service.Query(FeedQuery feedQuery) +284
   Google.GData.Contacts.ContactsService.Query(ContactsQuery feedQuery) +9
   Blackbaud.AppFx.FAFEvent.Web.GmailExtract.Extract(ContactBaseList& contactList, String token) +308
   Blackbaud.AppFx.FAFEvent.Web.AddressBookImport.DisplayGoogleContacts() +74
   Blackbaud.AppFx.FAFEvent.Web.AddressBookImport.Page_Load(Object sender, EventArgs e) +150
   System.Web.UI.Control.LoadRecursive() +71
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3064


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1022

 

This appears to be related to the following from Google:

Important: As of March 31, 2014, in order to increase security, the Contacts API began redirecting HTTP GET requests to HTTPS, and rejecting POSTPUT, and DELETErequests made with HTTP. If your application uses the HTTP protocol, please switch to HTTPSMore information.

 

https://developers.google.com/google-apps/contacts/v3/?hl=en

Download and install the latest patch, which contains all fixes from previous patches. If you are running an older version, download and install the latest version and then the patch. 

Environment

 3.0.516 Patch 34
 3.0.516, patch 36

Was this article helpful?