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

# 403 Forbidden

> Which Mixpanel ingestion endpoints return a 403, what the response looks like, and how it differs from a 401

A 403 means Mixpanel recognized the request but refused it. Among the ingestion endpoints, only `/track`, `/engage`, and `/groups` return a 403.

> [!NOTE]
>
> `/import` does not return a 403. It responds with 200, 400, 401, 413, or 429. If you are debugging an `/import` failure, see [401 Unauthorized](https://docs.mixpanel.com/troubleshooting/errors/401-unauthorized.md) for credential problems.

## What the Response Looks Like

```json theme={"system"}
{
  "error": "...",
  "status": "error"
}
```

This shape differs from the other ingestion errors: there is no `code` field.

The API reference lists 403 as a possible response for these endpoints but doesn't document the specific conditions that trigger it. The checks below are the usual starting points.

## 403 Compared to 401

| Status | Meaning |
| - | - |
| 401 | Mixpanel could not authenticate the request at all — the credentials were missing, malformed, or invalid |
| 403 | The credentials were understood, but the request is not permitted |

## How to Fix It

**Confirm the project token** belongs to the project you intend to write to. See [find your project token](https://docs.mixpanel.com/docs/orgs-and-projects/managing-projects.md#find-your-project-tokens).

**Check the endpoint and host match your project's data residency.** EU and India projects use `api-eu.mixpanel.com` and `api-in.mixpanel.com`.

**Enable debug mode in your SDK** to log the exact request being sent, including headers and payload. See [debugging your implementation](https://docs.mixpanel.com/docs/tracking-best-practices/debugging.md#enable-debug-mode).

If the request still fails with a 403 and the token is correct, [contact support](https://mixpanel.com/contact-us/support/) with the full request and response, minus the credentials.

## Related

* [401 Unauthorized](https://docs.mixpanel.com/troubleshooting/errors/401-unauthorized.md)
* [Service Accounts](https://docs.mixpanel.com/reference/service-accounts.md)
