invalid_request
The request failed validation (missing/invalid fields).
On this page
HTTP 400configurationpartner-2faoauthsharedapitypescriptjava
Code: invalid_request · Shape: partner
Meaning
The request failed validation (missing/invalid fields).
Likely causes
- Missing required body fields
- externalUserId empty or longer than 128 characters
- Invalid UUID where an id is required
- OAuth start missing client_id / redirect_uri / PKCE fields
- Non-S256 code_challenge_method
How to diagnose
- Read message / error_description from the response body
- Compare request body to the API Reference for the operation
How to fix
- Correct the request fields and retry once.
- Use SDK helpers so required fields are typed.
Retry behavior
Safe to retry after fixing the payload.
Related
API: POST /v1/identities/status, POST /v1/identities/enroll, POST /oauth/authorize/init, POST /verify/start
SDK: enable2FA(), createVerification(), verify()
Troubleshooting: network, pkce
Guides: Partner 2FA Quickstart, OAuth Quickstart
