Not an XML when using grid "post()" method and "json" option

I’m using the dhtmlxPro version. Searching this forum I found some documentation links by the dhtmlx support people that list permutations of the dhtmlxGrid post() method. I’m calling this method like so:

myGrid.post("unitOrder.do?opt=reloadAdjustment",
			"orderOid="+dwOrder.meta.orderOid+
			"&salesOrderNumber="+dwOrder.meta.salesOrderNumber,"json");

An alert dialog appears indicating that the status code is “200” and then shows a chunk of my returned JSON with the message being “Not an XML…”.

viewtopic.php?f=14&t=5504&hilit=grid%20post

What’s wrong?

Also, I don’t like it when this method posts a DHTMLX error by the DHTMLX software. Just give me the status and I’ll make a determination what to display and how.

Finally as part of this post/message handling I’ve added the following code:

dhtmlxError.catchError(“ALL”, myErrorHandler);

On the myErrorHandler callback dhtmlx passes information of limited use. In this case I get 3 parameters “LoadXML”, “Incorrect”, “JSON”.

I need a way to check the return status (200, 404, etc) and then gain access to the returned message.

An alert dialog appears indicating that the status code is “200” and then shows a chunk of my returned JSON with the message being “Not an XML…”.
Please check if you have attached dhtmlxgrid_post.js and dhtmlxgrid_json.js files to your page. If issue still occurs please provide us example where we can reproduce it.