# API erorr: Ensure all IDs are valid before resolving

**URL:** <https://forums.eveonline.com/t/api-erorr-ensure-all-ids-are-valid-before-resolving/31799>\
**Category:** Third Party Developers\
**Tags:** api\
**Created:** [October 16, 2017, 1:02am UTC](https://forums.eveonline.com/t/api-erorr-ensure-all-ids-are-valid-before-resolving/31799 "2017-10-16T01:02:25Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brein\_Spiegel](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/brein_spiegel/32/20528_2.png) [@Brein\_Spiegel](https://forums.eveonline.com/u/Brein_Spiegel)\
**Post date:** [October 16, 2017, 1:02am UTC](https://forums.eveonline.com/t/api-erorr-ensure-all-ids-are-valid-before-resolving/31799/1 "2017-10-16T01:02:25Z")

</div>

Hi all,  
I’m trying to implement a search function but I’ve come across a strange error:  
This is the API call to search itemtypes matching ‘extender’:  
[https://esi.tech.ccp.is/latest/search/?categories=inventorytype&search=extender&strict=false](https://esi.tech.ccp.is/latest/search/?categories=inventorytype&search=extender&strict=false)

In the answer I obtain all the IDs of the items which contain the word extender in their name. In order to display the search results I call the universe/names endpoint to resolve their names, but I get this error in the response: “Ensure all IDs are valid before resolving.”

this is very strange because the IDs I’m using are provided by the APIs and are supposed to be valid…  
can someone help me on this and tell me how I can verify if the IDs are valid?

thank you!

---

<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:** [October 16, 2017, 4:09am UTC](https://forums.eveonline.com/t/api-erorr-ensure-all-ids-are-valid-before-resolving/31799/2 "2017-10-16T04:09:58Z")

</div>

This is a known issue. Should be fixed maybe next week or so?

> <https://github.com/ccpgames/esi-issues/issues/600>

---

<div class="post-metadata">

**Author:** ![Brein\_Spiegel](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/brein_spiegel/32/20528_2.png) [@Brein\_Spiegel](https://forums.eveonline.com/u/Brein_Spiegel)\
**Post date:** [October 16, 2017, 4:25am UTC](https://forums.eveonline.com/t/api-erorr-ensure-all-ids-are-valid-before-resolving/31799/3 "2017-10-16T04:25:22Z")

</div>

ok, thank you!

---

<div class="post-metadata">

**Author:** ![Col\_Crunch](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/col_crunch/32/519204_2.png) [@Col\_Crunch](https://forums.eveonline.com/u/Col_Crunch)\
**Post date:** [October 16, 2017, 7:49am UTC](https://forums.eveonline.com/t/api-erorr-ensure-all-ids-are-valid-before-resolving/31799/4 "2017-10-16T07:49:27Z")

</div>

Just curious, wouldn’t the SDE be quicker than constantly going to ESI?

---

<div class="post-metadata">

**Author:** ![Golden\_Gnu](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/golden_gnu/32/459734_2.png) [@Golden\_Gnu](https://forums.eveonline.com/u/Golden_Gnu)\
**Post date:** [October 16, 2017, 8:26am UTC](https://forums.eveonline.com/t/api-erorr-ensure-all-ids-are-valid-before-resolving/31799/5 "2017-10-16T08:26:51Z")

</div>

If you need a fix now, you can use:  
[https://esi.tech.ccp.is/latest/#!/Character/get\_characters\_names](https://esi.tech.ccp.is/latest/#!/Character/get_characters_names)  
or  
[https://esi.tech.ccp.is/latest/#!/Corporation/get\_corporations\_names](https://esi.tech.ccp.is/latest/#!/Corporation/get_corporations_names)  
instead (as a backup on failed requests)  
Both will resolve both corporation and character ids (last I tested it).

---

<div class="post-metadata">

**Author:** ![Snitch\_Ashor](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/snitch_ashor/32/470084_2.png) [@Snitch\_Ashor](https://forums.eveonline.com/u/Snitch_Ashor)\
**Post date:** [October 16, 2017, 10:09am UTC](https://forums.eveonline.com/t/api-erorr-ensure-all-ids-are-valid-before-resolving/31799/6 "2017-10-16T10:09:17Z")

</div>

Yeah I’m doing the same. I used to to do search on partial char/corp names and the universe/names for autocompletion, but also search returns a lot of invalid IDs. If you switch to any other endpoint, keep in mind that those using get have probably a lower number for maximum IDs that can be resolved at once.

---

<div class="post-metadata">

**Author:** ![Brein\_Spiegel](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/brein_spiegel/32/20528_2.png) [@Brein\_Spiegel](https://forums.eveonline.com/u/Brein_Spiegel)\
**Post date:** [October 17, 2017, 4:25am UTC](https://forums.eveonline.com/t/api-erorr-ensure-all-ids-are-valid-before-resolving/31799/8 "2017-10-17T04:25:26Z")

</div>

> [@Col\_Crunch](#):
>
> Just curious, wouldn’t the SDE be quicker than constantly going to ESI?

I’m creating a serverless angular browser application which relies only on data obtained in real time from the api server

---

<div class="post-metadata">

**Author:** ![Brein\_Spiegel](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/brein_spiegel/32/20528_2.png) [@Brein\_Spiegel](https://forums.eveonline.com/u/Brein_Spiegel)\
**Post date:** [October 17, 2017, 4:29am UTC](https://forums.eveonline.com/t/api-erorr-ensure-all-ids-are-valid-before-resolving/31799/9 "2017-10-17T04:29:49Z")

</div>

> [@Golden\_Gnu](#):
>
> If you need a fix now, you can use:
> 
> [https://esi.tech.ccp.is/latest/#!/Character/get\_characters\_names](https://esi.tech.ccp.is/latest/#!/Character/get_characters_names)
> 
> or
> 
> [https://esi.tech.ccp.is/latest/#!/Corporation/get\_corporations\_names](https://esi.tech.ccp.is/latest/#!/Corporation/get_corporations_names)
> 
> instead (as a backup on failed requests)
> 
> Both will resolve both corporation and character ids (last I tested it).

thank you for the tip, but to avoid inconsistencies i’ll wait for them to fix the problem (if it’s just a few weeks matter)

---

<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:** [January 15, 2018, 4:29am UTC](https://forums.eveonline.com/t/api-erorr-ensure-all-ids-are-valid-before-resolving/31799/10 "2018-01-15T04:29:50Z")

</div>

Closed on January 15, 2018, 4:29am UTC

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