Skip to contentSkip to navigationSkip to topbar
Page toolsOn this pageProducts used
Looking for more inspiration?Visit the
Error
Application error

20162: A conflicting resource update is in progress

Twilio API Documentation and Error CodesAPI

Description

description page anchor

The requested resource is already being updated simultaneously by another API request. The last request will be rejected to avoid inconsistent state.

Possible causes

possible-causes page anchor

The same API resource is being updated by multiple simultaneous API requests from different threads in a conflicting fashion.

  • Implement an operation retrier and repeat the failed API requests after an interval of time using, exponential backoff algorithm.
  • Serialize your API requests that modify the same resources, and wait until the original request completes and returns an API response, before sending any successive modifications.