---
title: "POST /api/slack/bug-report"
method: POST
path: "/api/slack/bug-report"
tags: ["/api/slack"]
---

# POST /api/slack/bug-report

`POST /api/slack/bug-report`

Send diagnostic information to the configured Slack channels. Requires bug reporting to be enabled. The report is
  attributed to the current user when `diagnosticInfo.reporter` is true, and anonymous otherwise. The `{name, email}`
  form of `reporter` that clients before 0.64 send is treated as true; the identity in it is ignored.

## Request body

- object
  - `diagnosticInfo` object, required
    - `backendErrors` object[], nullable
    - `browserInfo` object, nullable — Value must be a map.
    - `bugReportDetails` object, nullable — Value must be a map.
    - `description` string, nullable
    - `entityInfo` object, nullable — Value must be a map.
    - `entityName` string, nullable
    - `frontendErrors` string[], nullable
    - `localizedEntityName` string, nullable
    - `logs` object[], nullable
    - `queryResults` object, nullable — Value must be a map.
    - `reporter` union
      - object
        - `email` string, required
        - `name` string, required
      - boolean
    - `url` string, nullable
    - `userLogs` object[], nullable

## Response `2XX`

Successful response

## Other responses

- `4XX` — Client error response
- `5XX` — Server error response

---

[API](https://skmtc.dev/metabase/apis/metabase-api.md) · [All operations](https://skmtc.dev/metabase/apis/metabase-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/metabase/metabase-api/revisions/e879e0319b12/schema)
