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
- Hardcoded wrong projectId
- 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.
Related
API: POST /v1/identities/status, POST /v1/auth/challenge
Troubleshooting: credentials
Guides: API Keys & Credentials
