locally modified contacts / Attempt to set a forbidden header was denied

Cardbook for Thunderbird Forums Main Forum locally modified contacts / Attempt to set a forbidden header was denied

Viewing 2 reply threads
  • Author
    Posts
    • #3625
      allank
      Participant

      System: Windows 10 Pro 21H2, Thunderbird 91.9.0 (64-bit), Cardbook 75.0, Google contacts account type GOOGLE2 vCard 3.0

      Thank you for a fantastic add-in.

      I am having an issue with Google contacts and “locally modified: 2″ status message. Most likely steps to reproduce:

      1. Start Thunderbird, view Google contacts account after sync complete
      2. Status correctly shows: Number of contacts: 0
      3. Move 18 contacts from local address book into Google contacts account, wait for sync to complete
      4. Status shows: Number of contacts: 18 (locally modified: 2) [no contacts are bold in the Cardbook Google address book]
      5. Move 18 contacts back from Google contacts account to local address book, wait for sync to complete
      6. Status shows: Number of contacts: 0 (locally modified: 2)
      7. Exit Thunderbird
      8. Restart Thunderbird, view Google contacts account after sync complete
      9. Status correctly shows: Number of contacts: 0

      If I do a manual sync after step 6 the Thunderbird console shows two errors the same:
      <span style=”color: #ff0000;”>Attempt to set a forbidden header was denied: Content-Length cardbookWebDAV.js:386:17</span>

      At step 8 after restart Thunderbird console shows one error:
      <span style=”color: #ff0000;”>Attempt to set a forbidden header was denied: Content-Length 4 cardbookWebDAV.js:386:17</span>

      cardbookWebDAV.js:386:17 is this code:

      if (headers) {
        for (let header in headers) {
          <span style="color: #ff6600;">httpChannel.setRequestHeader(header, headers[header]);</span>
        }
      }

      Is there a work-around to the “locally modified: 2” status, or is this something that needs fixed? Do you need any additional information? Thanks.

    • #3626
      Chris
      Keymaster

      I’m not sure, but it may have to do with the fact that google creates new UUIDs for each contact stored there. I had this issue once … one has to wait a while until google is done with its alterations …

    • #3627
      allank
      Participant

      More details, and appears to be a minor cosmetic issue.

      Started again with no contacts in my Google address book. I then moved 5 contacts at a time (all without contact photos) from a local address book to Google address book. Did not get the “locally modified” status.

      When I moved a single contact with a jpeg contact photo to the Google address book, that is when the status changed to “locally modified: 1”. No contacts were bolded in the address book. Waited and tried multiple resyncs and status did not change. Contact is correctly created on Google cloud with the contact photo. Exiting and restarting Thunderbird cleared the “locally modified: 1” status.

      The “locally modified: 1” status does not occur if I move a contact over without a contact photo, and then add the contact photo after the contact is created in the Google address book.

Viewing 2 reply threads
  • You must be logged in to reply to this topic.