| code | 101003 |
|---|---|
| identifier | lock_already_held |
| title | Lock already held |
| summary | A lock could not be acquired because it is currently held by another member. In Ably Spaces, only one member can hold a given lock at a time, and it must be released before another can take it. |
Treat the lock as unavailable and handle that in your application, for example by waiting until it is released and trying again, or by showing the component as locked by someone else. Contention is expected: a lock exists precisely so that only one member holds it at a time.
The lock was already held by another member when it was requested. Only one member can hold a given lock at a time, and it must be released before another member can acquire it.
The error is reported with code 101003 and HTTP status 400. The message is lock is currently locked.