I was using the client to add an external email account (gmail). I was able to set up the account and would come back successful on the test but once I clicked on 'save' it would successfully confirm my gmail account but then return a pink box saying 'system failure: getDirectContext'.
I opened up the [?mjsf=true&gzip=false&debug=1] window to see what was going on ...

this is the batch request

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">


<context xmlns="urn:zimbra">

<userAgent xmlns="" name="ZimbraWebClient - IE7 (Win)" version="5.0.4_GA_2101.openSUSE_10.2"/>
<sessionId xmlns="" id="113"/>
<account xmlns="" by="name">
<format xmlns="" type="js"/>
<authToken xmlns="">
0_b60b549d46d949c34173ed9e3e86a3a943db3d4d_69643d3 3363a31336632383532612d356235652d343734612d6138356 32d6539373430666430663061623b6578703d31333a3132303 83730373939323539353b747970653d363a7a696d6272613b6 d61696c686f73743d31353a3139322e3136382e312e31393a3 8303b

<BatchRequest xmlns="urn:zimbra" onerror="stop">

<CreateDataSourceRequest xmlns="urn:zimbraMail" requestId="0">

<pop3 xmlns="" name="pittne@gmail.com" isEnabled="true" emailAddress="pittne@gmail.com" host="pop.gmail.com" port="995" username="pittne@gmail.com" password="********" l="298" connectionType="ssl" pollingInterval="0" leaveOnServer="true" fromDisplay="Keith J. Pittner" fromAddress="pittner@golfnetworkusa.com"/>
<NoOpRequest xmlns="urn:zimbraMail" requestId="1"/>

and this is the response


Body: {
BatchResponse: {
Fault: [
0: {
Code: {
Value: "soap:Receiver"
Detail: {
Error: {
Code: "service.FAILURE",
Trace: "btpool0-8:1208535907429:ee2d59dd91fa0413",
_jsns: "urn:zimbra"
Reason: {
Text: "system failure: getDirectContext"
_jsns: "urn:zimbraSoap",
requestId: "0"
_jsns: "urn:zimbra"
Header: {
context: {
_jsns: "urn:zimbra",
change: {
token: 13351
sessionId: [
0: {
_content: "113",
id: "113"
_jsns: "urn:zimbraSoap"


so I was wondering if anyone can spot the error or what might be going wrong.
Thanks in advance