INDEXER_UNSUPPORTED
What INDEXER_UNSUPPORTED means, why IndexerError throws it, what to show users and how to fix it in ensforge. Also covers retry safety.
IndexerErrorNot retryable
@ensforge/sdk
What happened
The indexer does not support this query.
What to show users
| Title | Message | Action |
|---|---|---|
| Data unavailable | This information is not available here. |
How to fix
Use an indexer that serves it, e.g. fallback([bigname(), goldsky()]).
Retry safety
Retrying the same call fails the same way until the cause is fixed (retryable: false).
Actions that throw it
| Action | When |
|---|---|
indexer.getEvents | when the indexer does not serve the query or its namespace. |
indexer.getHistory | when the indexer does not serve the query or its namespace. |
indexer.getName | when the indexer does not serve the query or its namespace. |
indexer.getNamesByExpiry | when the indexer does not serve the query or its namespace. |
indexer.getNamesForAddress | when the indexer does not serve the query or its namespace. |
indexer.getNamespace | when the indexer does not serve the query or its namespace. |
indexer.getPermissions | when the indexer does not serve the query or its namespace. |
indexer.getPrimaryName | when the indexer does not serve the query or its namespace. |
indexer.getRecords | when the indexer does not serve the query or its namespace. |
indexer.getRegistry | when the indexer does not serve the query or its namespace. |
indexer.getRegistryLabels | when the indexer does not serve the query or its namespace. |
indexer.getResolver | when the indexer does not serve the query or its namespace. |
indexer.getResolverLinks | when the indexer does not serve the query or its namespace. |
indexer.getResolverRoles | when the indexer does not serve the query or its namespace. |
indexer.getResolvers | when the indexer does not serve the query or its namespace. |
indexer.getStatus | when the indexer does not serve the query or its namespace. |
indexer.getSubnames | when the indexer does not serve the query or its namespace. |
indexer.lookup | when the indexer does not serve the query or its namespace. |
indexer.search | when the indexer does not serve the query or its namespace. |
Catch it
Errors.hasCode("INDEXER_UNSUPPORTED") narrows to this error. See Handle errors.
Was this page helpful?