Fix call request on error connection SQL