Source edits are off
What the StudioSourceEditRefused error (422 Unprocessable Content) means, the fields it carries, and the endpoints that return it.
The API answers 422 Unprocessable Content with this problem. Its type is https://lingo.dev/docs/api/errors/studio-source-edit-refused. See Errors and status codes for the shape every error shares.
The edit of <unit> changes the source (pt-BR). Studio edits translations only for now, so remove the source edit or discard the draft.
Fields #
Besides the standard type, status, title and detail members, the body carries these fields. The detail text is built from them, so a client can show its own text instead.
| Field | Type |
|---|---|
locale | string |
unit | string |
Example #
json
{
"detail": "The edit of <unit> changes the source (pt-BR). Studio edits translations only for now, so remove the source edit or discard the draft.",
"locale": "pt-BR",
"unit": "<unit>",
"type": "https://lingo.dev/docs/api/errors/studio-source-edit-refused",
"status": 422,
"title": "Source edits are off"
}