Skip to content
This repository was archived by the owner on Oct 30, 2026. It is now read-only.
This repository was archived by the owner on Oct 30, 2026. It is now read-only.

Return UnknownTargetError for VuMark generation with non-existent target #2980

Closed

Description

@adamtheturtle

When a VuMark instance generation request is made via POST /targets/<target-id>/instances with a target ID that does not exist in the database, the mock should return an UnknownTargetError response.

Currently, the request results in a ConnectionError because no route matches.

See the xfail test in vws-cli: VWS-Python/vws-cli#1968

Activity

  1. adamtheturtle commented on Feb 22, 2026

    @adamtheturtle
    MemberAuthor

    This is now working. The validate_target_id_exists validator correctly handles the /targets/<target-id>/instances path pattern, and a passing test was added in #2985 confirming that an unknown target ID returns UnknownTarget (HTTP 404).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions