Skip to content

Problem with latest releases and /api/v3/ URL / CallGetRawSecretsV3 incorrectly formats request URL using /api/v4/secrets endpoint instead of v3 path #295

Description

@geraldurbas

Its may be intended ( but not well documented)

Since Release v0.43.99
i get this error

error: failed to fetch secrets for path "/": CallGetRawSecretsV3 Unsuccessful response [GET ...

Description
When executing the Infisical CLI against a self-hosted instance running an older backend version matrix (e.g., Server version v0.146.2), the CLI throws a 404 Not Found error.

The error log indicates that the CLI attempts to run its V3 legacy fallback mechanism via CallGetRawSecretsV3. However, the underlying HTTP request generated by this function targets the /api/v4/secrets endpoint rather than the expected /api/v3/secrets/raw or /api/v3/secrets route. This completely breaks backwards compatibility for older self-hosted environments that do not have the V4 endpoint registered yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions