fix #727 Callback failure when submitting a JSON request should be handled in the framework.