# Why is ESI structure query so limiting?

**URL:** <https://forums.eveonline.com/t/why-is-esi-structure-query-so-limiting/71493>\
**Category:** Third Party Developers\
**Tags:** esi\
**Created:** [April 22, 2018, 7:43pm UTC](https://forums.eveonline.com/t/why-is-esi-structure-query-so-limiting/71493 "2018-04-22T19:43:15Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Captain\_Panther](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/captain_panther/32/368735_2.png) [@Captain\_Panther](https://forums.eveonline.com/u/Captain_Panther)\
**Post date:** [April 22, 2018, 7:43pm UTC](https://forums.eveonline.com/t/why-is-esi-structure-query-so-limiting/71493/1 "2018-04-22T19:43:15Z")

</div>

I just need to get a structure name by ID I’ve got from my own notifications but I’m getting Forbidden error. The name can’t be so criminal, right?

Right now I can generate notifications like: “Your unidentified structure in this system is under attack! Guess which!”.

Is there any way to solve this issue?

---

<div class="post-metadata">

**Author:** ![Blacksmoke16](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/blacksmoke16/32/376589_2.png) [@Blacksmoke16](https://forums.eveonline.com/u/Blacksmoke16)\
**Post date:** [April 22, 2018, 8:21pm UTC](https://forums.eveonline.com/t/why-is-esi-structure-query-so-limiting/71493/2 "2018-04-22T20:21:41Z")

</div>

If you do not have docking rights to a structure you cannot look it up.

However if you own it you should just have to lookup the structure\_id from the notification text using [https://esi.tech.ccp.is/ui/#/Universe/get\_universe\_structures\_structure\_id](https://esi.tech.ccp.is/ui/#/Universe/get_universe_structures_structure_id). Is that not the case?

It is an authed endpoint so make sure your token has that scope, are using the right token for the right character and the ID is valid.

---

<div class="post-metadata">

**Author:** ![Captain\_Panther](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/captain_panther/32/368735_2.png) [@Captain\_Panther](https://forums.eveonline.com/u/Captain_Panther)\
**Post date:** [April 22, 2018, 10:04pm UTC](https://forums.eveonline.com/t/why-is-esi-structure-query-so-limiting/71493/3 "2018-04-22T22:04:40Z")

</div>

I know how to handle it but the whole docking affected restriction seems weird. I can see the structure name in game even if I don’t have docking rights. I don’t want to lookup anything except name.

On the other side, I’m in a corp which owns the structure but still I’m getting Forbidden error if I’m trying to lookup it using the endpoint you’ve mentioned. At least moon mining notifications have structure name specified right inside their text property with no additional lookup needed at all.

Dear CCP, can we have structure names specified in the text of other structure related notifications? @CCP_SnowedIn ? And you can leave lookups as they are.

---

<div class="post-metadata">

**Author:** ![Blacksmoke16](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/blacksmoke16/32/376589_2.png) [@Blacksmoke16](https://forums.eveonline.com/u/Blacksmoke16)\
**Post date:** [April 22, 2018, 11:45pm UTC](https://forums.eveonline.com/t/why-is-esi-structure-query-so-limiting/71493/4 "2018-04-22T23:45:23Z")

</div>

Can you dock in the structure that has the notification? If not there is no way to get the name of the structure via ESI afaik, that endpoint is the only one that returns the name of a structure given an ID.

Feel free to open an issue on the repo and see what happens [https://github.com/ccpgames/esi-issues/issues/new](https://github.com/ccpgames/esi-issues/issues/new)

---

<div class="post-metadata">

**Author:** ![Steve\_Ronuken](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/steve_ronuken/32/373894_2.png) [@Steve\_Ronuken](https://forums.eveonline.com/u/Steve_Ronuken)\
**Post date:** [April 23, 2018, 12:29am UTC](https://forums.eveonline.com/t/why-is-esi-structure-query-so-limiting/71493/5 "2018-04-23T00:29:35Z")

</div>

The reason for the docking limitation, is because you _will_ get people scraping ESI for new structures. And with the system name in the structure name, you’ve just handed people a target.

---

<div class="post-metadata">

**Author:** ![Captain\_Panther](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/captain_panther/32/368735_2.png) [@Captain\_Panther](https://forums.eveonline.com/u/Captain_Panther)\
**Post date:** [April 23, 2018, 9:52am UTC](https://forums.eveonline.com/t/why-is-esi-structure-query-so-limiting/71493/6 "2018-04-23T09:52:17Z")

</div>

Okay, this can be avoided by specifying structure name in notifications which has good access restriction on their own. This they they can;t be exploited for good, right?

As I’ve already said the new moon mining notifications already have citadel names specified inside.

---

<div class="post-metadata">

**Author:** ![Blacksmoke16](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/blacksmoke16/32/376589_2.png) [@Blacksmoke16](https://forums.eveonline.com/u/Blacksmoke16)\
**Post date:** [April 23, 2018, 2:31pm UTC](https://forums.eveonline.com/t/why-is-esi-structure-query-so-limiting/71493/7 "2018-04-23T14:31:49Z")

</div>

Make an issue on the github requesting that feature.

---

<div class="post-metadata">

**Author:** ![Whitehound](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/whitehound/32/59604_2.png) [@Whitehound](https://forums.eveonline.com/u/Whitehound)\
**Post date:** [April 23, 2018, 3:15pm UTC](https://forums.eveonline.com/t/why-is-esi-structure-query-so-limiting/71493/8 "2018-04-23T15:15:33Z")

</div>

> [@Blacksmoke16](#):
>
> Make an issue on the github requesting that feature.

This is basically the answer to the problem. ESI is still in development, being at 0.8 right now, and better safe than sorry.

So do market orders in ESI don’t tell you much about structures either. Structures aren’t even included in the sell order listings, yet for buy orders do these show up with at least an id. While any player in-game can see them.

It feels like the ESI is missing a “lowest denominating character” for some of the unauthorized data and instead chooses to stay completely on the outside.

---

<div class="post-metadata">

**Author:** ![Captain\_Panther](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/captain_panther/32/368735_2.png) [@Captain\_Panther](https://forums.eveonline.com/u/Captain_Panther)\
**Post date:** [April 23, 2018, 3:35pm UTC](https://forums.eveonline.com/t/why-is-esi-structure-query-so-limiting/71493/9 "2018-04-23T15:35:35Z")

</div>

I’ve made the request there, thanks for the tip.

> <https://github.com/esi/esi-issues/issues/862>

---

<div class="post-metadata">

**Author:** ![Erik\_Kalkoken](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/erik_kalkoken/32/436631_2.png) [@Erik\_Kalkoken](https://forums.eveonline.com/u/Erik_Kalkoken)\
**Post date:** [April 25, 2018, 11:32am UTC](https://forums.eveonline.com/t/why-is-esi-structure-query-so-limiting/71493/10 "2018-04-25T11:32:38Z")

</div>

I think this is a good idea. We have a notification bot for our alliance and its quite some effort and requires additional scopes to get the structure names for most notifications. Also, since structure names are part of newer notifications it seams that CCP agrees with you. Will upvote on esi-issues.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/eveonline/original/3X/4/1/41ec4921cbaca7a6f9ea556e7cc20018461eae5e.png) [@system](https://forums.eveonline.com/u/system)\
**Post date:** [July 24, 2018, 11:43am UTC](https://forums.eveonline.com/t/why-is-esi-structure-query-so-limiting/71493/11 "2018-07-24T11:43:39Z")

</div>

Closed on July 24, 2018, 11:43am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
