> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ionworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Resolve a validation issue

> Accept or reject one finding.

Accepting stops the finding blocking ingestion (re-parsing unchanged data
re-reports it, so it is not suppressed); rejecting abandons the file.
Blocking findings cannot be resolved — the file could not be parsed, so no
decision makes it usable.



## OpenAPI

````yaml https://api.ionworks.com/openapi.json patch /raw_data/{raw_data_id}/issues/{issue_id}
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers:
  - url: https://api.ionworks.com
    description: Production
security: []
paths:
  /raw_data/{raw_data_id}/issues/{issue_id}:
    patch:
      tags:
        - Raw Data
      summary: Resolve a validation issue
      description: >-
        Accept or reject one finding.


        Accepting stops the finding blocking ingestion (re-parsing unchanged
        data

        re-reports it, so it is not suppressed); rejecting abandons the file.

        Blocking findings cannot be resolved — the file could not be parsed, so
        no

        decision makes it usable.
      operationId: resolve_raw_data_issue_raw_data__raw_data_id__issues__issue_id__patch
      parameters:
        - name: raw_data_id
          in: path
          required: true
          schema:
            type: string
            title: Raw Data Id
        - name: issue_id
          in: path
          required: true
          schema:
            type: string
            title: Issue Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResolveIssueRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RawDataIssue'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ResolveIssueRequest:
      properties:
        resolution:
          type: string
          enum:
            - accept
            - reject
            - change_cell
          title: Resolution
          description: The chosen option's id.
      type: object
      required:
        - resolution
      title: ResolveIssueRequest
      description: |-
        Body for resolving a single validation issue.

        The valid values for a given finding are exactly the ``id``s of the
        ``options`` that finding reports; sending anything else is rejected with
        the allowed set listed.
    RawDataIssue:
      properties:
        id:
          anyOf:
            - type: string
            - type: 'null'
          title: Id
          description: Row id once persisted; None for freshly parsed issues.
        code:
          type: string
          title: Code
          description: >-
            Stable machine-readable code — an ionworks IssueCode value or an
            engine-specific code. Branch on this, never on title/detail.
        severity:
          type: string
          enum:
            - auto_fixed
            - warning
            - needs_input
            - blocking
          title: Severity
          description: Whether this blocks ingestion and how it is displayed.
        title:
          type: string
          title: Title
          description: Plain-English title, no error codes.
        detail:
          type: string
          title: Detail
          description: One-paragraph explanation.
          default: ''
        payload:
          additionalProperties: true
          type: object
          title: Payload
          description: 'Structured details: columns, observed values, row ranges.'
        fix_summary:
          anyOf:
            - type: string
            - type: 'null'
          title: Fix Summary
          description: 'For auto_fixed issues: short description of what changed.'
        resolution:
          anyOf:
            - type: string
              enum:
                - accept
                - reject
                - change_cell
            - type: 'null'
          title: Resolution
          description: Reviewer decision; None while unresolved.
        resolved_by:
          anyOf:
            - type: string
            - type: 'null'
          title: Resolved By
          description: User who resolved it.
        resolved_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Resolved At
          description: Resolution timestamp.
        options:
          items:
            $ref: '#/components/schemas/FixOption'
          type: array
          title: Options
          description: |-
            Choices available for this finding.

            Derived from ``code`` and ``severity`` rather than stored, so the
            catalogue can grow without a migration and can never drift from what
            :meth:`resolve` actually accepts.
          readOnly: true
      type: object
      required:
        - code
        - severity
        - title
        - options
      title: RawDataIssue
      description: |-
        A single validation finding for a raw-data file.

        Emitted by the parse engine (with no id/timestamps) and persisted to
        ``raw_data_issues``, where it gains identity and resolution fields.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    FixOption:
      properties:
        id:
          type: string
          enum:
            - accept
            - reject
            - change_cell
          title: Id
          description: Value to send back as the resolution.
        label:
          type: string
          title: Label
          description: Plain-English button label.
        detail:
          type: string
          title: Detail
          description: What choosing this will do.
          default: ''
        recommended:
          type: boolean
          title: Recommended
          description: Whether this is the engine's suggested choice.
          default: false
      type: object
      required:
        - id
        - label
      title: FixOption
      description: |-
        One choice a reviewer can make about a finding.

        Options are computed from the issue's ``code`` rather than stored, so a
        client renders the choices without hardcoding what each code supports.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````