Menu
Feedback
Start here

Known issues

Known issues
deadlocked error when using Catalog APIs
Catalog
ID: 862626
Backlog
Published on7/14/2023
Last updated on7/19/2023
1 min read

Summary

The constant use of some catalog APIs like "Add SKU to Subcollection" or trying to link products through the suggestions module can cause deadlocked errors for the merchant.

Deadlocked erros can happen when there is a concurrence in saving the data on the database. So when requesting too much the API in a short period of time, this errors are more evident.

Simulation

  1. Use, for instance, the Add SKU to Subcollection API (https://developers.vtex.com/docs/api-reference/catalog-api#post-/api/catalog/pvt/subcollection/-subCollectionId-/stockkeepingunit) to add lots of skus into a collection in a short period of time;
  2. Check that errors might happen, such is deadlocked.

Workaround

Try to make less requests per minute.

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