Upload error returns non-zero

@turtlebender