API erorr: Ensure all IDs are valid before resolving

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

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!

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

ok, thank you!

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

If you need a fix now, you can use:
https://esi.tech.ccp.is/latest/#!/Character/get_characters_names
or
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).

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.

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

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)

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