File format unknown
What the FileFormatUnknown 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/file-format-unknown. See Errors and status codes for the shape every error shares.
The extension of <path> does not say how to read the file. Supported extensions include .json, .yaml, .ts, .po, .xliff, .strings, .xcstrings, .arb, .properties, .csv, .md and .html.
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 |
|---|---|
paths | string[] |
Example #
JSON
{
"detail": "The extension of <path> does not say how to read the file. Supported extensions include .json, .yaml, .ts, .po, .xliff, .strings, .xcstrings, .arb, .properties, .csv, .md and .html.",
"paths": [
"<path>"
],
"type": "https://lingo.dev/docs/api/errors/file-format-unknown",
"status": 422,
"title": "File format unknown"
}