---
title: "Server-to-server: mark a document extraction failed (e.g. after Inngest retries exhaust)"
method: POST
path: "/api/internal/processor/mark-extraction-failed"
tags: ["internal"]
---

# Server-to-server: mark a document extraction failed (e.g. after Inngest retries exhaust)

`POST /api/internal/processor/mark-extraction-failed`

## Request

- Base URL: `https://localhost:8080`
- URL: `https://localhost:8080/api/internal/processor/mark-extraction-failed`
- Auth: none declared

## Request body

- InternalMarkExtractionFailedDto
  - `document_id` string, required
  - `error_code` string
  - `error_message` string

## Response `200`

Document marked failed

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/opencase/apis/opencase-backend-api.md) · [All operations](https://skmtc.dev/opencase/apis/opencase-backend-api/llms.txt) · [OpenAPI document](https://skmtc.dev/opencase/apis/opencase-backend-api/revisions/c66ef2d8dc00?raw)
