Typescript SDK Type Docs
    Preparing search index...

    Interface ConcurrentModificationError

    Returned when the request conflicts with the current state of the involved resources. Typically, the request attempts to modify a resource that is out of date (that is modified by another client since it was last retrieved). The client application should resolve the conflict (with or without involving the end user) before retrying the request.

    interface ConcurrentModificationError {
        code: "ConcurrentModification";
        currentVersion: number;
        expectedVersion: number;
        message: string;
        resourceId: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    code: "ConcurrentModification"

    Error identifier.

    currentVersion: number

    Current version of the resource.

    expectedVersion: number

    Expected version of the resource.

    message: string

    "Object $resourceId has a different version than expected. Expected: $expectedVersion - Actual: $currentVersion."

    resourceId: string

    The ID of the resource that has a version conflict.