Hi, gdata-2.0.4 seams to break the patch
downgrading to gdata-2.0.2 makes the API update work again (no more "Error 403: If-Match or If-None-Match header required )" Xavier. On 16 nov, 17:42, "Julian (Google)" <[email protected]> wrote: > Hi, > > Please try to download the latest version of the client library from > the SVN:http://code.google.com/p/gdata-python-client/source/checkout > > Or use an older > version:http://gdata-python-client.googlecode.com/files/gdata-2.0.2.zip > > Cheers, > Julian. > > On Nov 11, 9:15 am, Wheatley <[email protected]> wrote: > > > > > Hi, > > > I have the same error and have not been able to fix it. I am trying > > to update 73 contacts and it just returns the403error. > > Please can you talk me through how to resolve this?? > > > Regards. > > > On Oct 22, 1:32 pm, "Julian (Google)" <[email protected]> wrote: > > > > Hi Justing, > > > > TheGDataPythonlibrary is still v1, you were using v1 before the bug > > > was introduced with the latest profiles support change. We will submit > > > a patch to correct this. > > > > Cheers, > > > Julian > > > > On Oct 22, 12:30 am, Justin Steward <[email protected]> wrote: > > > > > Hi Julian, > > > > > On Thu, Oct 22, 2009 at 1:55 AM, Julian (Google) <[email protected]> > > > > wrote: > > > > > > Hi Justin, > > > > > > I am checking the issue, please check if you are running different > > > > > version of thePythonGDataLibrary. > > > > > As mentioned in my original message, thegdatalibrary is the same > > > > version on each machine. The version ofPythonis the same on both > > > > machines. The OS version and update level is the same on both > > > > machines. The application code is the same on both machines. > > > > > But one works, and one doesn't. > > > > > > For the If-Match, there are two choices, use theGData-Version 1: > > > > >gdata.contacts.service.ContactsService(additional_headers={'GData- > > > > > Version': 1}) > > > > > This fixed the problem, however this means I'm using version 1, when > > > > soon version 3 will be available? I don't think that's really a > > > > problem for my application, as long as the v1 protocol is still > > > > supported. > > > > > However, this feels more like a workaround than a solution. > > > > > > Or add the ETag or Any(*) to the If-Match header: > > > > > client.Delete(entry.GetEditLink().href,extra_headers={'If-Match': > > > > > '*'}) > > > > > > We are in the process ofupdatingContactsPythonto v3 and I need to > > > > > release a patch to make this easier/transparent. > > > > > > Cheers, > > > > > Julian -- You received this message because you are subscribed to the Google Groups "Google Contacts API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-contacts-api?hl=.
