CHW-4802 ClientCredentialPayloadInvalid

client credential payload could not be decoded; ensure the body is a JSON object matching the schema

Default message: client credential payload could not be decoded; ensure the body is a JSON object matching the schema
HTTP status: 400 (client)

Problem. Create or update of a client credential failed because the JSON body could not be decoded. Cause. Body was empty, malformed, or contained fields of the wrong type (e.g. non-string client_id, non-boolean enabled, bad expiry_date string). Fix. Send a JSON object matching the schema — client_id (required on create), optional name, client_type, expiry_date (RFC3339 or null), authorized_repositories (array, “all”, or null), enabled (boolean). HTTP 400.