{"section":"known-issues","requestedLocale":"en","requestedSlug":"deadlocked-error-when-using-catalog-apis","locale":"en","slug":"deadlocked-error-when-using-catalog-apis","path":"docs/en/known-issues/Catalog/deadlocked-error-when-using-catalog-apis.md","branch":"main","content":"## Summary\n\n\nThe 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.\n\nDeadlocked 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.\n\n\n##\n\n## Simulation\n\n\n\n1. 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;\n2. Check that errors might happen, such is deadlocked.\n\n\n##\n\n## Workaround\n\n\nTry to make less requests per minute."}