---
title: "Fix a message by its ID."
method: POST
path: "/v3/messages/{logId}/{id}/_fix"
tags: ["Messages"]
---

# Fix a message by its ID.

`POST /v3/messages/{logId}/{id}/_fix`

Required permission: `messages_write`

## Path parameters

- `id` string, required
- `logId` string, required

## Query parameters

- `markAllAsFixed` boolean

## Response `200`

Message was fixed.

## Other responses

- `400` — Something wrong with the query parameters.
- `401` — API key not valid or no access to resource.
- `402` — Tried to call the logs API but the trial expired.
- `404` — Message not found.
- `429` — A maximum of 500 requests per minute and 3600 requests per hour are permitted

---

[API](https://skmtc.net/elmah/apis/elmah-io-api.md) · [All operations](https://skmtc.net/elmah/apis/elmah-io-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elmah/elmah-io-api/versions/8e9c6e56e4fa/schema)
