UNSUPPORTED_ALGORITHM — algorithm not supported
cyoda-go version 0.8.2
errors.UNSUPPORTED_ALGORITHM
Section titled “errors.UNSUPPORTED_ALGORITHM”UNSUPPORTED_ALGORITHM — the requested JWT algorithm is not implemented in this version.
SYNOPSIS
Section titled “SYNOPSIS”HTTP: 400 Bad Request. Retryable: no.
DESCRIPTION
Section titled “DESCRIPTION”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.
Use algorithm: RS256 or omit the field.
SEE ALSO
Section titled “SEE ALSO”- errors
See also
Section titled “See also”cyoda help errors— Every error response from the Cyoda REST API carries a structurederrorCodein thepropertiesobject. Multiple codes may share the same HTTP status. Programmatic handling keys onerrorCode, not HTTP status.
Raw formats
Section titled “Raw formats”/help/errors/unsupported_algorithm.json— full descriptor (matchesGET /help/{topic}envelope)/help/errors/unsupported_algorithm.md— body only