Skip to content

ESI returns 404 "Ship not found" on /characters/{character_id}/ship/ when character is controlling a structure #1471

Description

@esinoob

Bug

When a character is currently controlling a structure, the character ship endpoint returns a 404 "Ship not found" error instead of returning the structure(?)

Request

GET /latest/characters/{character_id}/ship/?datasource=tranquility

Response

Status Code

404

Headers

Date: Sat, 11 Apr 2026 17:49:54 GMT
X-Esi-Request-ID: 2c7da8e9-f95b-4ca4-8b4e-1889a3c6c057
X-Esi-Cache-Status: MISS                          

Body

{
      "error": "Ship not found"
}

Expected

200 with the citadel as ship type? structure id? everything but not a 4XX error

Checklist

Check all boxes that apply to this issue:

  • Bug description is provided
  • Request path is provided
  • Response status code is provided
  • Response headers are provided
  • Response body is provided
  • Expected response is provided

Metadata

Metadata

Assignees

No one assigned

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions