Errors

precondition_failed

412. The If-Match entity tag you sent does not match the current one: the resource changed since you read it. The write was rejected before doing anything. HTTP 412.

HTTP status
412
Problem type
https://docs.filmo.io/errors/precondition_failed

Example

{
  "type": "https://docs.filmo.io/errors/precondition_failed",
  "title": "Precondition failed",
  "status": 412,
  "code": "precondition_failed",
  "detail": "The resource changed since you read it: read it again and retry",
  "requestId": "req_0b9f6c1d2e3a4f5a8b7c6d5e4f3a2b1c"
}

When it happens

412. The If-Match entity tag you sent does not match the current one: the resource changed since you read it. The write was rejected before doing anything.

What to do

Read the resource again, redo your change on top of the fresh state, and send it with the new ETag. Do not resend the old body with the new tag without looking at what changed.

Retry

  • Read the resource first412 precondition_failed

    Read the resource again, redo your change on top of it and send the new ETag.

Returned by

78 operations

Through MCP

A tool call that fails comes back with `isError` set and the problem as structured content, with the same `code`.

Status