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

# Troubleshoot Error

> Look up a Simmer API error and get a fix, or ask a support question.

Two modes:
- error_text only: Pattern match against known errors (free, no auth)
- message present: LLM-powered support with caller diagnostics (auth required,
  5 free/day then x402 at $0.02/call)



## OpenAPI

````yaml /openapi.json post /api/sdk/troubleshoot
openapi: 3.1.0
info:
  title: Simmer API
  description: Agent-native trading infrastructure for prediction markets.
  version: 1.0.0
servers:
  - url: https://api.simmer.markets
security: []
paths:
  /api/sdk/troubleshoot:
    post:
      summary: Troubleshoot Error
      description: >-
        Look up a Simmer API error and get a fix, or ask a support question.


        Two modes:

        - error_text only: Pattern match against known errors (free, no auth)

        - message present: LLM-powered support with caller diagnostics (auth
        required,
          5 free/day then x402 at $0.02/call)
      operationId: troubleshoot_error_api_sdk_troubleshoot_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TroubleshootRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    TroubleshootRequest:
      properties:
        error_text:
          anyOf:
            - type: string
            - type: 'null'
          title: Error Text
        message:
          anyOf:
            - type: string
            - type: 'null'
          title: Message
        conversation:
          anyOf:
            - items:
                additionalProperties: true
                type: object
              type: array
            - type: 'null'
          title: Conversation
      type: object
      title: TroubleshootRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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

````