Skip to main content
Question

API call works in testing, but not in the daily scheduled runs

  • March 17, 2026
  • 6 replies
  • 25 views

Forum|alt.badge.img+1

I have a Zap that is scheduled to run daily. It’s purpose is to run an API call with Credly using the Webhooks by Zapier action, filtering on a specific badge, and then to loop the results through a few subsequent steps: getting that badge data into a few of our systems: CRM (Salesforce), Community (Gainsight CC), etc. 

High-level Zap architecture

 

for the past month I’ve been tried to troubleshoot issues using the Zapier copilot and experimenting on my own. The issue isn’t related to any of the subsequent steps, but rather the data returned from the API call. 

  • When I test: the API returns an array with multiple line items I can loop through the subsequent steps. ✅
  • When it runs as scheduled: the API returns a single line item, always the same record, and the loop runs a single iteration (because it doesn’t have any more data) ⛔
  • When I replay the run: the API returns an array with multiple line items and the remaining steps (looping, etc) works fine ✅

My hypothesis is that the issue is likely with the Credly API, but I’m doubting myself given that the tests and the replays are working fine.

Anyone come across a similar issue before? 

6 replies

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • March 17, 2026

Hi ​@ddpancratz 

For us to have more info, post screenshots showing how your Zap step 3 is configured in the CONFIGURE tab while in EDIT mode with the field mappings visible. (Mask your API Key)

 

As an alternative, you can use a CODE step to make the API request and handle the API response to output an array.

Code help: https://zapier.com/apps/code/integrations#help

 

TIP: Ask AI to generate the JavaScript/Python code for you.


Forum|alt.badge.img+1
  • Author
  • Tinkerer
  • March 17, 2026

Thanks ​@Troy Tessalone here’s the config

Webhooks by Zapier

 

 

The Logs (Beta) for all my daily scheduled runs shows 200 responses and I’m getting data back on the scheduled runs. 

Here’s the data out from the scheduled run on March 14

Scheduled run on 3/14 -- shows only one result (metadata count)

And from the replay of the same run:

Replay of that same 3/14 run -- shows 5 results (metadata count)
 

I verified that the missing badge records from the original run (3/14) that show in the replay were issued on 3/14 and should have been in the original run scope. 


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • March 17, 2026

@ddpancratz 

Credly API endpoint: https://docs.credly.com/browse/reference/get_v1-organizations-organization-id-badges

 

Issue may be due to:

  • when the Zap is scheduled to run
  • how the API request filtering is being done
    • filter[issued_at_min] may not be a valid query
      filter[badge_template_id] may not be a valid query
  • how the Formatter is configured may be a contributing factor
  • you may need to add sorting
    • see screenshot below

 

It may be that at the point in time when the Zap Run, there are no Badges that meet the filter criteria.

But, when you replay the Zap, the are now Badges that meet the filter criteria.

 

How is Zap step 1 configured? (screenshots)

How is Zap step 2 configured? (screenshots)

 

 


Forum|alt.badge.img
  • New
  • March 17, 2026

Hi ​@ddpancratz 

Here's the Credly API doc that might help: [link]

If you're still running into issues, drop a screenshot of the Zap steps configuration and a quick description of what your Zap is doing, happy to take a look!

And if you'd rather just get it sorted quickly, I offer a free 20-min Zapier troubleshooting call. Book it under Resources on my Zapier Directory profile: https://zapier.com/partnerdirectory/automatemybiz

!-->


Forum|alt.badge.img+1
  • Author
  • Tinkerer
  • March 17, 2026

Thank you both. I think part of the issue is that Credly has been updating these API docs and the APIs themselves over the past few months. I may now be using endpoints that are less than ideal or filtering criteria that’s not fully optimized. 


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • March 17, 2026

@ddpancratz 

Try reaching out to Credly Support for help with their app API.

If you are looking to hire help, I’m a Zapier Partnerhttps://zapier.com/partnerdirectory/automation-ace