Skip to content
Settings

UNSUPPORTED_KEY_TYPE — JWK kty not supported

cyoda-go version 0.8.2

UNSUPPORTED_KEY_TYPE — the JWK kty is not supported by this cyoda-go version.

HTTP: 400 Bad Request. Retryable: no.

POST /oauth/keys/trusted accepts only kty: "RSA" in v0.8.0. Cloud also supports kty: "EC" and kty: "OKP"; cyoda-go parity is tracked in a v0.8.1 follow-up.

  • errors
  • errors.UNSUPPORTED_ALGORITHM
  • cyoda help errors — Every error response from the Cyoda REST API carries a structured errorCode in the properties object. Multiple codes may share the same HTTP status. Programmatic handling keys on errorCode, not HTTP status.
  • cyoda help errors UNSUPPORTED_ALGORITHM — cyoda-go v0.8.0 signs and verifies only RS256. Other enum values declared in the OpenAPI spec (RS384, RS512, PS256, PS384, PS512, ES256, ES384, ES512, EdDSA) are rejected with this error. Cyoda Cloud supports the full enum; parity is tracked in a v0.8.1 follow-up.