So I created this zap to send error messages to slack so we can catch zapier errors. While this works, it resends/refires the message even if there’s no new zap that has error. How to fix this?
Trigger Event: New Zap Error
Account: My account
Folder: Empty so i checks all zap
Zap: Empty so i checks all zap
Hi
Check your Zap Runs history details to see the DATA IN/OUT for each Zap step to trace the data flow and troubleshoot: https://zapier.com/app/history/
For us to have more info, post screenshots with how your Zap steps are configured in EDIT mode.
Thank you for the reply.
So I checked the Data/In Out and they are all identical to the first Zap Errors Run.
Here is the Zap Step.
Slack Step,
Forgot to add the Data Out log
count: 1
root_id: 249752255
title: Main LDS - Unbounce
zap_link: https://zapier.com/app/editor/249752255?source=zapier_manager
task_history_link: https://zapier.com/app/history?root_id=249752255&source=zapier_manager
node:
id: 249752258
title: Cert ID
account:
id: 13145235
name:
company_name:
company_address:
invoice_email:
customer_id: 0182a16e-8384-c063-b972-85bff2b85ae5
has_card: true
period_reset: 2024-07-31T23:02:56
paying: true
trialing: false
trial_end_date: null
is_unlimited: false
parent: 249752257
type_of: write
selected_api: CodeAPI
action: run_python_3
params:
code: import re
# Input data from previous steps
cert_url = input_dataa'CertID']
# Define a regular expression pattern to extract the identifier
pattern = r'https://cert.trustedform.com/((^/]+)'
match = re.search(pattern, cert_url)
# Extract the identifier or set to None if not found
dynamic_identifier = match.group(1) if match else None
# Output the result
return {'CertID': dynamic_identifier}
code_search: pattern, cert_url
code_group: 1
input:
CertID: {{249752255__form_data__xxTrustedFormCertUrl}}
meta:
$editor:
has_automatic_issues: false
missing_field_mapping:
0:
stepId: 214431062
giveKey: form_data__xxTrustedFormCertUrl
stepTitle: New Form Submission in Unbounce
stepNumber: 1
app: UnbounceCLIAPI@1.14.0
hadMappingAtCopyTime: true
replaced_step_id: _GEN_1715193344547
parammap:
stepTitle: Cert ID
service: Code by Zapier
message: Your code had an error!
Traceback (most recent call last):
File "<string>", line 11, in the_function
KeyError: 'CertID'
Fields with no value:
outage
----
count: 1
root_id: 249752255
title: Main LDS - Unbounce
zap_link: https://zapier.com/app/editor/249752255?source=zapier_manager
task_history_link: https://zapier.com/app/history?root_id=249752255&source=zapier_manager
node:
id: 249752258
title: Cert ID
account:
id: 13145235
name:
company_name:
company_address:
invoice_email:
customer_id: 0182a16e-8384-c063-b972-85bff2b85ae5
has_card: true
period_reset: 2024-07-31T23:02:56
paying: true
trialing: false
trial_end_date: null
is_unlimited: false
parent: 249752257
type_of: write
selected_api: CodeAPI
action: run_python_3
params:
code: import re
# Input data from previous steps
cert_url = input_dataa'CertID']
# Define a regular expression pattern to extract the identifier
pattern = r'https://cert.trustedform.com/((^/]+)'
match = re.search(pattern, cert_url)
# Extract the identifier or set to None if not found
dynamic_identifier = match.group(1) if match else None
# Output the result
return {'CertID': dynamic_identifier}
code_search: pattern, cert_url
code_group: 1
input:
CertID: {{249752255__form_data__xxTrustedFormCertUrl}}
meta:
$editor:
has_automatic_issues: false
missing_field_mapping:
0:
stepId: 214431062
giveKey: form_data__xxTrustedFormCertUrl
stepTitle: New Form Submission in Unbounce
stepNumber: 1
app: UnbounceCLIAPI@1.14.0
hadMappingAtCopyTime: true
replaced_step_id: _GEN_1715193344547
parammap:
stepTitle: Cert ID
service: Code by Zapier
message: Your code had an error!
Traceback (most recent call last):
File "<string>", line 11, in the_function
KeyError: 'CertID'
Fields with no value:
outage
---
count: 1
root_id: 249752255
title: Main LDS - Unbounce
zap_link: https://zapier.com/app/editor/249752255?source=zapier_manager
task_history_link: https://zapier.com/app/history?root_id=249752255&source=zapier_manager
node:
id: 249752258
title: Cert ID
account:
id: 13145235
name:
company_name:
company_address:
invoice_email:
customer_id: 0182a16e-8384-c063-b972-85bff2b85ae5
has_card: true
period_reset: 2024-07-31T23:02:56
paying: true
trialing: false
trial_end_date: null
is_unlimited: false
parent: 249752257
type_of: write
selected_api: CodeAPI
action: run_python_3
params:
code: import re
# Input data from previous steps
cert_url = input_dataa'CertID']
# Define a regular expression pattern to extract the identifier
pattern = r'https://cert.trustedform.com/((^/]+)'
match = re.search(pattern, cert_url)
# Extract the identifier or set to None if not found
dynamic_identifier = match.group(1) if match else None
# Output the result
return {'CertID': dynamic_identifier}
code_search: pattern, cert_url
code_group: 1
input:
CertID: {{249752255__form_data__xxTrustedFormCertUrl}}
meta:
$editor:
has_automatic_issues: false
missing_field_mapping:
0:
stepId: 214431062
giveKey: form_data__xxTrustedFormCertUrl
stepTitle: New Form Submission in Unbounce
stepNumber: 1
app: UnbounceCLIAPI@1.14.0
hadMappingAtCopyTime: true
replaced_step_id: _GEN_1715193344547
parammap:
stepTitle: Cert ID
service: Code by Zapier
message: Your code had an error!
Traceback (most recent call last):
File "<string>", line 11, in the_function
KeyError: 'CertID'
Fields with no value:
outage
Zap Runs have different time stamps.
Can you post screenshots from your Zap Runs history details showing the DATA OUT for Step 1 and DATA IN for Step 2 for Zap Runs that are “duplicates”?
Yes, that’s what I’m trying to figure out. It appears they get triggered in 30 minutes intervals.
2024-08-22 02:13:16
Data In
Data Out
2024-08-22 02:48:28
Data In
Data out
So these runs are all for the Zap error from 2024-08-22 01:38:01
Help links for using Zapier Manager: https://zapier.com/apps/zapier-manager/help
Also, check your Zapier Profile notification settings.
The Zapier Manager Zap Error trigger wont include specific details about the encountered, just that a Zap Run for a Zap had an error for your to then go troubleshoot in Zapier.
If you have Zap Run Autoreply enabled, then that can delay the Zap Error notifications from being sent out because the Autoreplay will retry the Zap Run step with an error at increasing backoff increments before committing to an error.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.