Still wondering about the fact that the "success" handler is called here but sends a rejected promise.