Go to developer

project_mismatch

Request body projectId does not match the authenticated API key’s project.

On this page
HTTP 403credentialspartner-2faapi

Code: project_mismatch · Shape: partner

Meaning

Request body projectId does not match the authenticated API key’s project.

Likely causes

  1. Hardcoded wrong projectId
  2. Env var from another project

How to diagnose

  • Compare body projectId to the project of clientId/secret.

How to fix

  • Align projectId with the credentials’ project.
  • Prefer SDK factories that bind project from config.

Retry behavior

Fix configuration before retry.

API: POST /v1/identities/status, POST /v1/auth/challenge

SDK: createKeyraPartner2FA()

Troubleshooting: credentials

Guides: API Keys & Credentials