Skip to content

Unexpected Unsupported endpoint version on REST API #4620

@yorickdowne

Description

@yorickdowne

Description

When sending an exit message for a validator that has already exited to eth/v1/beacon/pool/voluntary_exits, Lighthouse v4.3.0 returns:

{
  "code": 400,
  "message": "BAD_REQUEST: Unsupported endpoint version: v1",
  "stacktraces": []
}

The same call for a validator that hasn't been exited yet, succeeds.

Version

v4.3.0

Expected Behaviour

Send a message that is more descriptive of the actual error encountered

Additional info

I have seen user reports of other REST calls that also fail with Unsupported endpoint version where a different message may be more appropriate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions