Skip to main content

I have formatted an API Request step in Zapier to delete a member in a Google Group.

The Delete request works, but returns an error (Raw request failed.). I know that the request is returning an http response of 204 (success). There has to be a way to handle this without having to upgrade my account just to ignore failure messages.

Anyone solve for this or something similar?

Hi @elizabethm42 

Good question.

Please post detailed screenshots with how your Zap steps are configured along with the encountered error to help give us more context, thanks.


@Troy Tessalone Sorry, should have done that from the start!

API Action Setup
Raw Request Failed error

 


@elizabethm42 

GContacts API endpoint to delete member: https://developers.google.com/admin-sdk/directory/reference/rest/v1/members/delete

 

Fixes

  • Remove the 2 Query String Parameters.
  • Instead, map those into the URL in place of {groupKey} and {memberKey}

 

 


@Troy Tessalone Thank you so much for taking a look at this and I’m sure you are correct, but when you say “map those into the URL in place of {groupKey} and {memberKey}” I’m not sure what you mean. I thought that is what the Query String Parameters were for. I am very much a beginner in dealing with both Zapier and the API interface.


@elizabethm42

Map these dynamic variables in place of the these static values in the URL:

{groupKey}

{memberKey}

 

 

 

groupKey

string

Identifies the group in the API request. The value can be the group's email address, group alias, or the unique group ID.

memberKey

string

Identifies the group member in the API request. A group member can be a user or another group. The value can be the member's (group or user) primary email address, alias, or unique ID.


@elizabethm42 

If you need help, consider hiring a Certified Zapier Expert: https://zapier.com/experts/automation-ace


@elizabethm42 

It should look similar to this.

 


@Troy Tessalone Thanks. Is there any documentation on how to create and use Dynamic values in Zapier? Is this going to require coding knowledge?


@Troy Tessalone Gotcha! Thanks so much, the pic above clarifies it completely, Thank you so much!