API version: 0.3.0

---

# GET /error/423/locked — 423 locked

General error response. As this endpoint is static, it can not return specific details or logs for a previously sent
error response.

Returned when elements of a type are written while the databases of the type are prepared for its schema: while a
schema is saved together with its immediate database changes, and while a [migration](/reference/schemas/migrations.md)
of the type runs. Saving the schema of a type is refused the same way while one of its migrations runs. Reads are not
affected. Repeat the request later.

Example problem response body (`application/problem+json`):

```json
{
  "type": "https://api.example.com/error/423/locked",
  "title": "Locked",
  "status": 423,
  "instance": "urn:uuid:02IiNr0G8viOVKjLCfR4NIEdgVrLpaxVcZ7BI",
  "detail": "Elements of the type 'Place' can't be changed right now, the databases are being prepared for its schema. Try again later."
}
```

## Request

```bash
curl \
  https://api.example.com/error/423/locked
```

## Response

### 200 · OK

Returns a static, human-readable explanation of the error.

#### Body

```plain
  _____           _                 _   _                          _    ____ ___
 | ____|_ __ ___ | |__   ___ _ __  | \ | | _____  ___   _ ___     / \  |  _ \_ _|
 |  _| | '_ ` _ \| '_ \ / _ \ '__| |  \| |/ _ \ \/ / | | / __|   / _ \ | |_) | |
 | |___| | | | | | |_) |  __/ |    | |\  |  __/⟩  ⟨| |_| \__ \  / ___ \|  __/| |
 |_____|_| |_| |_|_.__/ \___|_|    |_| \_|\___/_/\_\\__,_|___/ /_/   \_\_|  |___|


 Error 423 - Locked

 The HTTP 423 Locked client error response status code indicates that the target resource is locked, i.e. it can not
 be changed right now. Ember Nexus API returns it for writes to elements of a type whose databases are being prepared
 for its schema, e.g. while indices are built. Repeat the request later.

 Link to the documentation: https://ember-nexus.github.io/api

 Link to http.dev's explanation of the 423 error code: https://http.dev/423
```

#### Headers

```http
Access-Control-Allow-Headers: Authorization, Content-Type, If-Match, If-None-Match
Access-Control-Allow-Methods: GET, HEAD, OPTIONS
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: ETag
Allow: GET, HEAD, OPTIONS
Cache-Control: no-cache, private
X-Powered-By: Ember Nexus API
```

#### Schema

```json
{
  "type": "string"
}
```

[MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/200) · [HTTP.dev](https://http.dev/200)

## Request Header

## Response Header

### Other Headers

#### `Access-Control-Allow-Headers` (always)

Lists the request headers which the endpoint reads and which browsers may send in cross-origin requests. Headers are listed explicitly, as the wildcard does not cover `Authorization`; resumable upload headers, for example, are only listed by upload endpoints.

Example: `Authorization, Content-Type, If-Match, If-None-Match`

[MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Access-Control-Allow-Headers) · [HTTP.dev](https://http.dev/access-control-allow-headers)

#### `Access-Control-Allow-Methods` (always)

Indicates which HTTP methods are permitted for cross-origin requests, typically returned in preflight responses.

Example: `GET, HEAD, OPTIONS`

[MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Access-Control-Allow-Methods) · [HTTP.dev](https://http.dev/access-control-allow-methods)

#### `Access-Control-Allow-Origin` (always)

Specifies which origin may access the resource: the origin of the request (default), or `*` if `cors.allowedOrigins` is set to the wildcard. Not sent to origins which are not part of a configured list of `cors.allowedOrigins`.

Example: `*`

[MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Access-Control-Allow-Origin) · [HTTP.dev](https://http.dev/access-control-allow-origin)

#### `Access-Control-Expose-Headers` (optional)

Lists the response headers which the endpoint can send and which browsers may access from JavaScript beyond the default restricted set. Only headers of the endpoint are listed; the header is omitted if the endpoint has none.

Example: `ETag`

[MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Access-Control-Expose-Headers) · [HTTP.dev](https://http.dev/access-control-expose-headers)

#### `Allow` (always)

Lists the HTTP methods supported by the endpoint; returned alongside a `Method Not Allowed` response.

Example: `GET, HEAD, OPTIONS`

[MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Allow) · [HTTP.dev](https://http.dev/allow)

#### `Cache-Control` (always)

Directives controlling caching behavior for the response.

Example: `no-cache, private`

[MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Cache-Control) · [HTTP.dev](https://http.dev/cache-control)

#### `X-Powered-By` (always)

Identifies the underlying API implementation.

Example: `Ember Nexus API`

[MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/X-Powered-By) · [HTTP.dev](https://http.dev/x-powered-by)

---

Home: [Ember Nexus API docs](/index.md)

Full site map: [llms.txt](/llms.txt)

Previous: [422 unprocessable content](/api/get-error-422-unprocessable-content.md)

Next: [500 internal server error](/api/get-error-500-internal-server-error.md)
