You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to query 1 character's current fleet while providing the auth token of another results in a case-specific response body, but a reused response code (403 is documented as being for Forbidden, and returning a body containing an sso_status field, which this response did not).
Request
GET /characters/{character_id}/fleet/
Response
[body] => {"error":"Character ID mismatch between request path and auth token"}
[response_code] => 403
Expected
A unique error code for this condition, as there exists in the spec for 404: "The character is not in a fleet".
I suggest using the 409: Conflict response code for this case.
This almost certainly arose because of the FC choosing to SSO with the wrong character on their account, which would be mitigated by SSO issue/FR 10
The text was updated successfully, but these errors were encountered:
Ok, can this exact error code be depended upon to remain, to be used as a case condition vs the other 403 responses previously experienced? If so, can it be documented in the spec?
Also, just noticed this occured at 2018-04-17 00:53:44 without X-Esi-Ab-Test, and at 2018-04-17 01:27:54 with:
X-Esi-Ab-Test: 1
X-Esi-Request-Id: 01b78af2-975c-491e-ba19-dfda5f5989ed
Bug
Attempting to query 1 character's current fleet while providing the auth token of another results in a case-specific response body, but a reused response code (403 is documented as being for Forbidden, and returning a body containing an sso_status field, which this response did not).
Request
GET /characters/{character_id}/fleet/
Response
Expected
A unique error code for this condition, as there exists in the spec for 404: "The character is not in a fleet".
I suggest using the 409: Conflict response code for this case.
This almost certainly arose because of the FC choosing to SSO with the wrong character on their account, which would be mitigated by SSO issue/FR 10
The text was updated successfully, but these errors were encountered: