Threaded View

unable to create inexistent folder

Using the SOAP interface to save sieve rules, I get the following error:

Code:

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><soap:Body><soap:Fault><soap:Code><soap:Value>soap:Receiver</soap:Value></soap:Code><soap:Reason><soap:Text>system failure: unable to create inexistent folder ("/Unverified") in rule "Unverified"</soap:Text></soap:Reason><soap:Detail><Error xmlns="urn:zimbra"><Code>service.FAILURE</Code><Trace>com.zimbra.cs.service.ServiceException: system failure: unable to create inexistent folder ("/Unverified") in rule "Unverified"
at com.zimbra.cs.service.ServiceException.FAILURE(ServiceException.java:174)
at com.zimbra.cs.filter.RuleRewriter.action(RuleRewriter.java:358)
at com.zimbra.cs.filter.RuleRewriter.condition(RuleRewriter.java:338)
at com.zimbra.cs.filter.RuleRewriter.traverse(RuleRewriter.java:273)
at com.zimbra.cs.filter.RuleRewriter.getScript(RuleRewriter.java:252)
at com.zimbra.cs.filter.RuleManager.setXMLRules(RuleManager.java:137)
at com.zimbra.cs.service.mail.SaveRules.handle(SaveRules.java:55)
at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEngine.java:261)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:162)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:84)
at com.zimbra.soap.SoapServlet.doPost(SoapServlet.java:223)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at com.zimbra.cs.servlet.ZimbraServlet.service(ZimbraServlet.java:173)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Caused by: com.zimbra.cs.mailbox.MailServiceException: invalid name: "
at com.zimbra.cs.mailbox.MailServiceException.INVALID_NAME(MailServiceException.java:234)
at com.zimbra.cs.mailbox.Folder.validateFolderName(Folder.java:643)
at com.zimbra.cs.mailbox.Folder.create(Folder.java:462)
at com.zimbra.cs.mailbox.Mailbox.createFolder(Mailbox.java:4012)
at com.zimbra.cs.mailbox.Mailbox.createFolder(Mailbox.java:3980)
at com.zimbra.cs.filter.RuleRewriter.action(RuleRewriter.java:355)
... 27 more
</Trace></Error></soap:Detail></soap:Fault></soap:Body></soap:Envelope>

The folder does indeed exist, and I can create the rule through the web interface. If I create the rule in the web interface and do a <GetRulesRequest/> then a <SaveRulesRequest> with the data returned by Get, I get the above error. My SaveRulesRequest is below: