# IndexNotFoundException[no such index [500] ‘ERROR’]

## post by asmii on Jan 24, 2024

mohamed ayoub smii

asmii

Hello,

We are encountering issues while downloading .jar files from Nexus.

- The command used is:

```
curl --cacert Cert.crt --location "https://nexus.example.com/service/rest/v1/search/assets/download?/*****" --output data-pln.jar
```

- In the nexus.log, we find the following error message:

```
2024-01-24 10:36:23,844+0100 WARN  [qtp1450981182-19724843]  *UNKNOWN org.sonatype.nexus.siesta.internal.UnexpectedExceptionMapper - (ID 51421365-3dd0-48c6-a0e6-531ea0c419f7) Response: **[500] 'ERROR:** (ID 51421365-3dd0-48c6-a0e6-531ea0c419f7) [f532a0084d6f9e9836eb353adf82d5cdc193f3c2] IndexNotFoundException[no such index]'; mapped from: [f532a0084d6f9e9836eb353adf82d5cdc193f3c2] **IndexNotFoundException[no such index]** 2024-01-24 10:36:28,578+0100 WARN  [qtp1450981182-19724843]  *UNKNOWN org.sonatype.nexus.siesta.internal.UnexpectedExceptionMapper - (ID c648e4f4-76ad-4e44-b643-44820cf16cc6) Unexpected exception: [f532a0084d6f9e9836eb353adf82d5cdc193f3c2] IndexNotFoundException[no such index] org.elasticsearch.index.IndexNotFoundException: no such index   at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver$WildcardExpressionResolver.resolve(IndexNameExpressionResolver.java:581)   at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver.concreteIndices(IndexNameExpressionResolver.java:133)   at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver.concreteIndices(IndexNameExpressionResolver.java:113)   at org.elasticsearch.action.search.AbstractSearchAsyncAction.<init>(AbstractSearchAsyncAction.java:99)   at org.elasticsearch.action.search.SearchQueryThenFetchAsyncAction.<init>(SearchQueryThenFetchAsyncAction.java:53)   at org.elasticsearch.action.search.TransportSearchAction.doExecute(TransportSearchAction.java:93)   at org.elasticsearch.action.search.TransportSearchAction.doExecute(TransportSearchAction.java:47)   at org.elasticsearch.action.support.TransportAction.doExecute(TransportAction.java:149)   at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:137)   at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:85)   at org.elasticsearch.client.node.NodeClient.doExecute(NodeClient.java:58)   at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:359)   at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:86)   at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:56)   at org.sonatype.nexus.repository.search.query.SearchQueryServiceImpl.executeSearch(SearchQueryServiceImpl.java:211)   at org.sonatype.nexus.repository.search.query.SearchQueryServiceImpl.search(SearchQueryServiceImpl.java:157)   at org.sonatype.nexus.repository.rest.internal.resources.SearchResource.search(SearchResource.java:147)   at sun.reflect.GeneratedMethodAccessor280.invoke(Unknown Source)   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)   at java.lang.reflect.Method.invoke(Method.java:498)   at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:138)   at org.jboss.resteasy.core.ResourceMethodInvoker.internalInvokeOnTarget(ResourceMethodInvoker.java:546)   at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTargetAfterFilter(ResourceMethodInvoker.javax:435)   at org.jboss.resteasy.core.ResourceMethodInvoker.lambda$invokeOnTarget$0(ResourceMethodInvoker.javax:396)   at org.jboss.resteasy.core.interception.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:358)   at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:398)   at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:245)   at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:61)   at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)   at org.sonatype.nexus.siesta.internal.resteasy.ComponentContainerImpl.service(ComponentContainerImpl.java:111)   at org.sonatype.nexus.siesta.SiestaServlet.service(SiestaServlet.java:137)   at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)   at com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.doServiceImpl.java:290)   at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.doServiceImpl.ServletDefinition.java:280)   at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.doServiceImpl.ServletDefinition.java:184)   at com.google.inject.servlet.DynamicServletPipeline.service(DynamicServletPipeline.doServiceImpl.DynamicServletPipeline.service(DelegatingServletPipeline.service(DelegatingFilter.doFilter, servlet doFilter))))
}

**- On the graphical interface, the error message is “no such index.”**

- Some app and system information:

OS Version: RedHat 7.8

Nexus Version: OSS 3.34.1-01

Uptime: 978 days

## post by mpiggott on Jan 25, 2024

Matthew Piggott

Likely this means your elastic search index is missing. You could try using the task to rebuild the search index for the affected repositories.

### New & Unread Topics  
| Topic | Replies | Views | Activity |  
| --- | --- | --- | --- |  
| [NuGet package publishing using API key](https://community.sonatype.com/t/nuget-package-publishing-using-api-key/15367)<br>[Sonatype Nexus Repository](https://community.sonatype.com/c/nexus-repository/6) | [3](https://community.sonatype.com/t/nuget-package-publishing-using-api-key/15367/1) | 314 | [Aug 2025](https://community.sonatype.com/t/nuget-package-publishing-using-api-key/15367/4) |  
| [Nexus 3.69 OSS - does going over the daily requests threshold cause slowness?](https://community.sonatype.com/t/nexus-3-69-oss-does-going-over-the-daily-requests-threshold-cause-slowness/15513)<br>[Sonatype Nexus Repository](https://community.sonatype.com/c/nexus-repository/6) <br>[nexus-repository](https://community.sonatype.com/tag/nexus-repository) | [0](https://community.sonatype.com/t/nexus-3-69-oss-does-going-over-the-daily-requests-threshold-cause-slowness/15513/1) | 75 | [Sep 2025](https://community.sonatype.com/t/nexus-3-69-oss-does-going-over-the-daily-requests-threshold-cause-slowness/15513/1) |  
| [Maven repository proxy not caching artifacts?](https://community.sonatype.com/t/maven-repository-proxy-not-caching-artifacts/15519)<br>[Sonatype Nexus Repository](https://community.sonatype.com/c/nexus-repository/6) | [0](https://community.sonatype.com/t/maven-repository-proxy-not-caching-artifacts/15519/1) | 73 | [Sep 2025](https://community.sonatype.com/t/maven-repository-proxy-not-caching-artifacts/15519/1) |  
| [How to setup privileges for content selectors](https://community.sonatype.com/t/how-to-setup-privileges-for-content-selectors/15525)<br>[Sonatype Nexus Repository](https://community.sonatype.com/c/nexus-repository/6) | [1](https://community.sonatype.com/t/how-to-setup-privileges-for-content-selectors/15525/1) | 122 | [Sep 2025](https://community.sonatype.com/t/how-to-setup-privileges-for-content-selectors/15525/2) |  
| [About Renewing SSL Certificate](https://community.sonatype.com/t/about-renewing-ssl-certificate/15358)<br>[Sonatype Nexus Repository](https://community.sonatype.com/c/nexus-repository/6) <br>[nexus-repository](https://community.sonatype.com/tag/nexus-repository), [help](https://community.sonatype.com/tag/help) | [2](https://community.sonatype.com/t/about-renewing-ssl-certificate/15358/1) | 141 | [Aug 2025](https://community.sonatype.com/t/about-renewing-ssl-certificate/15358/3) |

**Topic list, column headers with buttons are sortable.**
