Skip to main content

I've encountered an error message in my Zapier workflow that's been puzzling me, and I haven't found a solution yet, even after exploring similar issues in this community.

Background: I have a main subzap that gathers details from various type forms, each corresponding to different courses (refer to Screenshot 1). Everything seems to be working smoothly until step 21, where I encounter an error at the "Add to Booking Sheet" subzap. Despite the error, the automation continues to function properly until completion. However, I'd like to address this error to prevent any potential disruptions like zap being turned off.

Analysis: Upon investigation, I discovered that the error occurs due to missing variables accessed from the parent zap, such as company name and company registration number, among other fields. It seems that the absence of these variables triggers the error, as I haven't encountered it in cases where all variables are present.

Question: Am I correct in understanding that the missing variables from the parent zap are causing this issue? If so, how can I ensure that the workflow proceeds smoothly even when certain variables are missing?

Note:

  • These missing variables have been absent since the initial steps of type form submission.
  • The issue is not because the main zap had another return function. I had removed it.
  • The missing variably could possible vary each time (Rarely), so cannot add a path fixed on 1 or two variables.

Hi @Sooraj Rajaramadas👋

Did you add a Return From a Sub-Zap action to your main Zap, instead of within the Sub-Zap itself? Asking as doing that will usually result in a “Did you fork or replay this step? We expected callbackUrl to be stored!” error.

If not, and the issue is just caused by missing values then perhaps you could try using a Formatter (Text > Default Value) action to set a default value where a field is empty: Set default values for blank fields in Zaps.
 

Looking forward to hearing from you on this!


Reply