Provide a server result in fail callbacks. Closes #2687