esi / esi-issues

Issue tracking and feature requests for ESI
https://esi.evetech.net/
209 stars 23 forks source link

/characters/CHARACTER_ID/corporationhistory/ returns empty result #1342

Closed truekenny closed 1 year ago

truekenny commented 1 year ago

Bug

Corporation history query returns empty result.

Request

GET /latest/characters/94998281/corporationhistory/?datasource=tranquility

Example: https://esi.evetech.net/latest/characters/94998281/corporationhistory/?datasource=tranquility

Response

Status Code

200

Headers

date: Thu, 19 Jan 2023 11:28:50 GMT
content-type: application/json; charset=UTF-8
content-length: 2
access-control-allow-credentials: true
access-control-allow-headers: Content-Type,Authorization,If-None-Match,X-User-Agent
access-control-allow-methods: GET,HEAD,OPTIONS
access-control-allow-origin: *
access-control-expose-headers: Content-Type,Warning,ETag,X-Pages,X-ESI-Error-Limit-Remain,X-ESI-Error-Limit-Reset
access-control-max-age: 600
allow: GET,HEAD,OPTIONS
cache-control: public
etag: "ed2e5773d709f4a0654d954884b08db4e152aeb8a70cb70b54e01bc4"
expires: Fri, 20 Jan 2023 11:23:13 GMT
last-modified: Thu, 19 Jan 2023 11:23:13 GMT
strict-transport-security: max-age=31536000
x-esi-error-limit-remain: 96
x-esi-error-limit-reset: 10
x-esi-request-id: 9cab2cba-6355-421b-a978-813bd592b625

Body

[]

Expected

Expected to see an array of corporations. Something like this:

[
  {corporation_id: 100000001, record_id: 100001, start_date: "2020-10-10 10:10:10"},
  {corporation_id: 100000002, record_id: 100002, start_date: "2020-11-10 10:10:10"},
  {corporation_id: 100000003, record_id: 100003, start_date: "2020-12-10 10:10:10"}
]

Checklist

Check all boxes that apply to this issue:

soratidus999 commented 1 year ago

This is sadly intentional https://forums.eveonline.com/t/esi-characters-corporation-history/391132 Changelog: https://github.com/esi/esi-issues/commit/4f1240da92b4ec443af96f48971d68ac3851c459

truekenny commented 1 year ago

thanks, CCP