# APP_MISMATCH

- Surface: API
- HTTP status: 403

## Cause

The credential belongs to a different App than the one the request addressed.

## Fix

Fetch the credential for this App and Environment and use that. Keys are bound to one App: a key from a sibling Environment is a different key, not a broader one.

## Related

- [ORIGIN_NOT_ALLOWED](https://splitch.dev/docs/error/ORIGIN_NOT_ALLOWED)
- [APP_NOT_FOUND](https://splitch.dev/docs/error/APP_NOT_FOUND)
- [INSUFFICIENT_SCOPES](https://splitch.dev/docs/error/INSUFFICIENT_SCOPES)

Source: https://splitch.dev/docs/error/APP_MISMATCH