Menu
Feedback
Start here

Known issues

Known issues
Delay in canceling the order in Marketplace
Order Management
ID: 1242813
Backlog
Published on8/12/2025
Last updated on8/12/2025
2 min read

Summary

This KI describes the scenario where the Marketplace or Fulfillment requests the cancellation of an order. This cancellation is accepted in fulfillment; however, it can take a few minutes or even longer in some cases for the status to be updated in the Marketplace. This delay occurs because there are multiples writes of the order in S3 (database) during the cancellation flow, changing the status from "cancel" to "canceled" and updating other cancellation information. Given the current implementation of the cancellation flow, which operates asynchronously without a lock, this behavior can occur, and inconsistencies might arise in the workflow interactions. For instance, the status may go to "canceled" but then revert to "cancel" due to the lack of locking in the operations. Consequently, this could affect the feed/hook since there would be two notifications of the canceled status.

This scenario affects the deny process via the UpdateTask API, causing the task to remain unupdated. However, the request is successfully canceled. In this case, it is necessary to update the task.

However, this scenario is rare and does not have a significant impact because there are retries in the workflow that ensure a certain level of consistency; nonetheless, it may take a while—for the information to be updated.

Simulation

It is not possible to simulate this scenario, as it does not always occur!

Workaround

We do not have a workaround for this scenario, so the workflow retry is necessary to correct the status!

Contributors
1
Photo of the contributor
+ 1 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
1
Photo of the contributor
+ 1 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX Community
Join our community
Request VTEX support
For personalized assistance, contact our experts
Open a support ticket
GitHubDeveloper PortalCommunityFeedback