When attempting to retrieve the roles of a corporation using the /corporations/{corporation_id}/roles/ endpoint, an error is returned stating that the character doesn't have the required role(s), despite the character possessing the Personnel_Manager role.
The endpoint documentation states: "Return the roles of all members if the character has the personnel manager role or any grantable role." According to this description, I should receive a 200 response. Additionally, in-game, I can view the roles of corporation members, even though I cannot edit them.
Request
GET /latest/corporations/{corporation_id}/roles/?datasource=tranquility
Response
Status Code
403
Headers
Include relevant headers received. Timestamps and request ID is nice, you may not have all these values, fill out what you received (don't worry about headers not listed here, unless pertinent to your issue). E.g.:
This confirms that the character has the Personnel_Manager role, which should be sufficient according to the documentation for accessing the list of roles in a corporation. I have verified that the corporation_id is correct, and in-game, I can view the roles of the corporation members but cannot edit them.
Bug
When attempting to retrieve the roles of a corporation using the
/corporations/{corporation_id}/roles/
endpoint, an error is returned stating that the character doesn't have the required role(s), despite the character possessing thePersonnel_Manager
role.The endpoint documentation states: "Return the roles of all members if the character has the personnel manager role or any grantable role." According to this description, I should receive a
200
response. Additionally, in-game, I can view the roles of corporation members, even though I cannot edit them.Request
GET /latest/corporations/{corporation_id}/roles/?datasource=tranquility
Response
Status Code
403
Headers
Include relevant headers received. Timestamps and request ID is nice, you may not have all these values, fill out what you received (don't worry about headers not listed here, unless pertinent to your issue). E.g.:
Body
Please provide the response body, feel free to scrub any opsec details you wish. E.g.:
Expected
200
Additional Details
The
/characters/{character_id}/roles/
endpoint returns the following roles for the character:This confirms that the character has the
Personnel_Manager
role, which should be sufficient according to the documentation for accessing the list of roles in a corporation. I have verified that thecorporation_id
is correct, and in-game, I can view the roles of the corporation members but cannot edit them.Checklist
Check all boxes that apply to this issue: