we are now checking that we get a 201 http response from the swift upload, if not we return an error