Return the correct return code for client APIs when the EST context pointer is not passed in