---
title: "key_mode_mismatch: what it means and how to fix it · Hypamoon"
description: "HTTP 403. The key and its project are in different modes: a test key (hm_test_) on a live project, or a live key (hm_live_) on a test project."
url: https://hypamoon.com/docs/errors/key_mode_mismatch
---

**Start for free.** [Sign up](https://app.hypamoon.com/?mode=signup&utm_source=docs&utm_campaign=banner) without a card and connect your chat, or create a test key for the API. Going live with something real asks for a quick check of your company first.

[Errors](https://hypamoon.com/docs/errors)

# key\_mode\_mismatch

**Status**\
403

**Type**\
`https://hypamoon.com/docs/errors/key_mode_mismatch`

The key and its project are in different modes: a test key (`hm_test_`) on a live project, or a live key (`hm_live_`) on a test project. Every project comes as a pair: a test project for building and a live project for real calls, each with its own keys. Use the test key while you build and switch to the live key when you go live.

Hypamoon is the infrastructure your chat or agent builds on for a business. Hypamoon API, version 1.[hypamoon.com](https://hypamoon.com/)
