Adobe app builder retry mechanism | Community
Skip to main content
May 13, 2025
Question

Adobe app builder retry mechanism

  • May 13, 2025
  • 2 replies
  • 751 views

Hello.

we are using commerce eventing and have an app created using adobe app builder which transforms the payload and creates order in shopify.

 

I noticed a strange issue with App Builder after one user's order failed to make its way from adobe commerce to Shopify for some reason.

There was another order from another customer which also should be created in Shopify. However, even though the order was created in Shopify with all valid data and shopify updated adobe commerce order with details,  App Builder is still throwing the same error that we saw with first order for the second order. This doesn’t make sense, especially for a the order that already made into shopify.

 

Due to this error, App Builder keeps retrying the operation and is creating duplicate orders in Shopify with each retry. As a result, that customer now has 9 identical orders in Shopify. They are getting placed every 15 minutes (reference: https://developer.adobe.com/events/docs/common/retry-doc/ )

 

is there some documentation missing? any idea on why that should even happen?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Adobe Employee
May 14, 2025

@swap2357: Could you provide more details about your Developer Console project, particularly the event registration that is causing the retries? Sharing the URL would help.

Also have you tried looking at the Debug Tracing tab to see what could be the cause of these retries?

Adobe Employee
May 14, 2025

@swap2357 could you share the following details?

- What error is throwing the runtime action?

- What response code is returning the runtime action?

That'll be helpful in figuring out what is causing the retries and the order repetition in Shopify

rxraj
Level 3
June 10, 2025

@swap2357 

 

As per my understanding, The App Builder automatically triggers the retry mechanism when an executed action returns a 5xx response code. You can check the response code for event actions in the debug tracer.

 

And to filter event triggers from Adobe Commerce, subscribe to specific order statuses in the Adobe Commerce config.php or from the starter kit "scripts/commerce-event-subscribe/config/commerce-event-subscribe.json"
<?php return [ 'io_events' => [ 'the.order.event.you.have.subscribed' => [ 'fields' => [ 'entity_id', 'increment_id', 'created_at', .... ], 'enabled' => 1, 'rules' => [ [ 'field' => 'status', 'operator' => 'in', 'value' => 'processing,completed' ] ] ] ] ];