Predefined rule not found
What the PredefinedRuleNotFound error (404 Not Found) means, the fields it carries, and the endpoints that return it.
The API answers 404 Not Found with this problem. Its type is https://lingo.dev/docs/api/errors/predefined-rule-not-found. See Errors and status codes for the shape every error shares.
Predefined rule <id> not found
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 |
|---|---|
id | string |
Example #
json
{
"detail": "Predefined rule <id> not found",
"id": "<id>",
"type": "https://lingo.dev/docs/api/errors/predefined-rule-not-found",
"status": 404,
"title": "Predefined rule not found"
}Returned by #
DELETE /v2/engines/{engineId}/predefined-rules/{id}GET /v2/organizations/{orgId}/predefined-rules/{id}/enginesGET /v2/predefined-rules/{id}PUT /v2/engines/{engineId}/predefined-rules/{id}