Closed stevetemple closed 1 year ago
Thanks for reporting @stevetemple. I'll look into that error to see if I can replicate. It looks to be trying to send a request to Azure Search with no actions, so potentially something is filtering out all intended actions before being sent.
When/how does this occur? Is it every time you delete a content item or something else?
Turning on Debug level logging may also yield more information. You can also enable debug level logging in the Umbraco config for just the namespace "ExamineX.AzureSearch"
Hi @stevetemple I was able to determine that in some cases when items are deleted, that an empty array of Ids may be passed in (this is based on code that needs to delete by path, taking into account the recycle bin, etc...). This was causing the error you saw, but there's also an exponential back off retry policy for Azure Search errors (in accordance with their docs). So this would be retried several times even though the request should have never been sent in the first place since it's empty.
I've just pushed version 2.0.12 to resolve this. Please let me know if that gets your further.
Thanks @Shazwazza
Super fast work! I'll see if I can reproduce the issue locally and then apply this and check it fixes it
I'm getting an issue on a site where it's trying to delete documents but failing. This has been giving us some errors as now the nucache and examine are out of date.
Spotted these exceptions in the logs
Umbraco version: 8.18.7 ExamineX version: 2.0.10