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

# 401

> Reference for Stytch API Unauthorized errors

## unauthorized\_credentials\_error

401 **Unauthorized credentials error**

The provided credentials are invalid.

```js theme={null}
{
  "status_code": 401,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "unauthorized_credentials_error",
  "error_message": "The provided credentials are invalid.",
  "error_url": "https://stytch.com/docs/api-reference/fraud/api/errors/401#unauthorized_credentials_error"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***

## unauthorized\_credentials\_homepage

401 **Unauthorized credentials homepage**

Thanks for trying Stytch! Replace the project ID and secret with your credentials from the developer dashboard to start adding users. To get started, sign up here: [https://stytch.com/login](https://stytch.com/login)

```js theme={null}
{
  "status_code": 401,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "error_type": "unauthorized_credentials_homepage",
  "error_message": "Thanks for trying Stytch! Replace the project ID and secret with your credentials from the developer dashboard to start adding users. To get started, sign up here: https://stytch.com/login",
  "error_url": "https://stytch.com/docs/api-reference/fraud/api/errors/401#unauthorized_credentials_homepage"
}
```

Need help?

> [card] [Send us an email](mailto:support@stytch.com)

> [card] [Contact us on slack](https://join.slack.com/t/stytch/shared_invite/zt-4cehhoyc1-NfCa_KH84yWx1reUbqIhYw)

***
