---
title: "Get HTTP challenge debug information"
method: GET
path: "/domains/{domain}/http-challenge-debug"
tags: ["Domains"]
---

# Get HTTP challenge debug information

`GET /domains/{domain}/http-challenge-debug`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/domains/{domain}/http-challenge-debug`
- Auth: HTTP bearer

Returns detailed debug information for HTTP-01 challenge including:
- Whether a challenge exists for the domain
- The challenge token and URL that Let's Encrypt will access
- DNS resolution information showing where the domain currently points

This is useful for debugging why HTTP-01 challenges fail.

## Path parameters

- `domain` string, required

## Response `200`

Debug information retrieved successfully

- HttpChallengeDebugResponse
  - `challenge_exists` boolean, required
  - `challenge_token` string, nullable
  - `challenge_url` string, nullable: The full URL that Let's Encrypt will try to access to validate the challenge
  - `dns_a_records` string[], required: IPv4 addresses the domain points to
  - `dns_aaaa_records` string[], required: IPv6 addresses the domain points to
  - `dns_error` string, nullable: Any DNS resolution errors
  - `domain` string, required
  - `validation_url` string, nullable: The ACME validation URL (internal to ACME protocol)

## Other responses

- `401`: Unauthorized
- `500`: Internal server error

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
