Skip to content

Instantly share code, notes, and snippets.

@soen
Last active December 1, 2016 18:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save soen/12d77b15891ec17d598fa770a0ee84df to your computer and use it in GitHub Desktop.
Save soen/12d77b15891ec17d598fa770a0ee84df to your computer and use it in GitHub Desktop.
41520 09:07:50 WARN Crawler : AddRecursive DoItemAdd failed - {C9AC9FAD-28E1-48BD-A86B-ABF40C15D3EA}
Exception: SolrNet.Exceptions.SolrConnectionException
Message: <?xml version="1.0" encoding="UTF-8"?>
<response>
<lst name="responseHeader">
<int name="status">400</int><int name="QTime">61</int></lst><lst name="error">
<str name="msg">
ERROR: [doc=sitecore://master/{66804041-d7cc-4371-b013-8e1df7b5ffcd}?lang=en&amp;ver=1&amp;ndx=sitecore_master_index]
Error adding field 'version__im'='xyz' msg=For input string: "xyz"
</str>
<int name="code">400
</int>
</lst>
</response>
Source: SolrNet
at SolrNet.Impl.SolrConnection.PostStream(String relativeUrl, String contentType, Stream content, IEnumerable`1 parameters)
at SolrNet.Impl.SolrConnection.Post(String relativeUrl, String s)
at SolrNet.Impl.SolrBasicServer`1.SendAndParseHeader(ISolrCommand cmd)
at Sitecore.ContentSearch.SolrProvider.SolrBatchUpdateContext.AddRange(IEnumerable`1 group, Int32 groupSize)
at Sitecore.ContentSearch.SolrProvider.SolrBatchUpdateContext.AddDocument(Object itemToAdd, IExecutionContext[] executionContexts)
at Sitecore.ContentSearch.SolrProvider.SolrIndexOperations.ApplyPermissionsThenIndex(IProviderUpdateContext context, IIndexable version)
at Sitecore.ContentSearch.SitecoreItemCrawler.DoAdd(IProviderUpdateContext context, SitecoreIndexableItem indexable)
at Sitecore.ContentSearch.HierarchicalDataCrawler`1.CrawlItem(T indexable, IProviderUpdateContext context, CrawlState`1 state)
Nested Exception
Exception: System.Net.WebException
Message: The remote server returned an error: (400) Bad Request.
Source: System
at System.Net.HttpWebRequest.GetResponse()
at HttpWebAdapters.Adapters.HttpWebRequestAdapter.GetResponse()
at SolrNet.Impl.SolrConnection.GetResponse(IHttpWebRequest request)
at SolrNet.Impl.SolrConnection.PostStream(String relativeUrl, String contentType, Stream content, IEnumerable`1 parameters)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment