Bug/dublicate

Implementing fix for https://github.com/mesosphere/marathon/issues/324
Why would the error callback be called if the response is a 2xx?