• Instructions to Ask a Question

    For any assistance, please click the "Ask a Question" button and select the Pabbly product for which you require support.

    We offer seven comprehensive applications designed to help you efficiently manage and grow your business:

    Our support team endeavors to respond within 24 business hours (Monday to Friday, 10:00 AM to 6:00 PM IST). We appreciate your understanding and patience.

    🚀 Exclusive Lifetime Offers 🚀

    We invite you to take advantage of our special one-time payment plans, providing lifetime access to select applications:

    • 🔥 Pabbly Connect — Lifetime Access for $249View Offer
    • 🔥 Pabbly Subscription Billing — Lifetime Access for $249View Offer
    • 🔥 Pabbly Chatflow — Lifetime Access for $249View Offer

    Make a one-time investment and enjoy the advantages of robust business management tools for years to come.

Google Contacts - Update contact's Etag

Status
Not open for further replies.
Your Task History ID
IjU3NjAwNTZhMDYzZTA0MzQ1MjY1NTUzZDUxM2E1MTYxNTQzMiI_3D_pc
Hi, I'm experiencing the following error with my workflow:
Error Code400
Error MessageRequest person.etag is different than the current person.etag. Clear local cache and get the latest person.
Error StatusFAILED_PRECONDITION
 
Last edited:
P

Pabblymember11

Guest
Hey @BusinessOnSteroids

Please note that if you are trying to update certain fields from the "Google Contact: Update Contact" action step then make sure that all the fields which are mentioned to updates are coming from your trigger response.


1687412838955.png
 
Thank you.
I've updated the history id with a different execution so you won't be distracted by empty fields and focus on the Etag issue.
Kindly give a look at it and come back with a solution.
I really appreciate your help.
 
Last edited:
P

Pabblymember11

Guest
Please check carefully, you haven't passed the phone number in the action step whereas you have selected the phoneNumbers in the "Fields To Be Update".

2023-06-22_15h24_13.png
 
Thank you for your message.
However, I kindly request you to double-check the details. In the "Fields To Be Updated" section, I intentionally removed both the email addresses and phone numbers, so there should not be any phone number included.

As a reference, please take a look at the previous message where I emphasized our focus on resolving the Etag issue. I have already updated the history ID with a different execution to eliminate any distractions caused by empty fields.

Your assistance in finding a solution to the Etag issue is greatly appreciated. I look forward to hearing back from you with any further insights or suggestions.

Thank you once again for your help.
1687439044877.png

1687439193266.png

Also kindly note that the first time the workflow is executed, it succeds. All subsequent tasks fail.
1687440321392.png
 
Last edited:
P

Pabblymember11

Guest
Hey @BusinessOnSteroids

We have made a small change in the Google Contacts action step and it should work now. Please give it a try and let us know.
 
Finally, it's working.
Let me point out a few things:
  • First of all, now the ETAG is required for the action, therefore an additional step is required if the trigger isn't the Google contact item itself.
  • Let me quote your prior messages: "Please note that if you are trying to update certain fields from the "Google Contact: Update Contact" action step then make sure that all the fields which are mentioned to updates are coming from your trigger response."
    AND
    "Please check carefully, you haven't passed the phone number in the action step whereas you have selected the phoneNumbers in the "Fields To Be Update"."
    These assumptions are wrong. When a field is selected and the item's value equal to empty, then contact's updated field become empty aswell.
    This works flawlessy and is the only way that I know to clear a populated field.
  • The "addresses formatted value" splits addresses by commas, which is commonly used worldwide as separator and is normally part of the addresses. Thus any address like "Bengaluru Palace, Bengaluru, Karnataka, India" will figure in the updated contacts as:
    {
    "Address1": "Bengaluru Palace",
    "Address2":"Bengaluru",
    "Address3":"Karnataka",
    "Address4":"India"
    }
    I will open a new ticket for it.
Thank you for now
 
Status
Not open for further replies.
Top